GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  TCS  >  C
Go To First  |  Previous Question  |  Next Question 
 C  |  Question 82 of 87    Print  
what is the difference between methods and functions

  
Total Answers and Comments: 5 Last Update: June 26, 2009     Asked by: ramanareddymca 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: srinivas Y
 
 The major difference between methods and functions is that methods called by the reference variables called objects where as the functions do not having any reference variables.

Above answer was rated as good by the following members:
ratneshict, gmraju333
September 19, 2006 05:00:11   #1  
kishore        

RE: what is the difference between methods and functio...

Methods are calling using objects.

FUNCTIONS ARE DIRECTLY CALLING


 
Is this answer useful? Yes | No
September 24, 2006 05:48:47   #2  
sreelekha        

RE: what is the difference between methods and functio...

methods are invoked using objects.

wheres as in case of functions here is no quesion of objects.

we can it directly


 
Is this answer useful? Yes | No
November 08, 2006 02:07:11   #3  
srinivas Y        

RE: what is the difference between methods and functio...
The major difference between methods and functions is that methods called by the reference variables called objects where as the functions do not having any reference variables.
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
June 24, 2009 03:33:19   #4  
user Member Since: May 2006   Contribution: 2    

RE: what is the difference between methods and functions
Function have independent existence which means they are defined outside the class. Method do not have independent existence that means they are defined inside the class.
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
June 26, 2009 13:55:38   #5  
zyduss Member Since: September 2007   Contribution: 1    

RE: what is the difference between methods and functions
The major difference between methods and functions is that methods called by the reference variables called objects where as the functions do not having any reference variables.
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape