Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between declaration and definition?

Answer Posted / ganesh9948302505

Declaration of a function is COMPILATION PHASE,inorder to
support the SIGNATURE OF FUNCTION like function
name,arguments. Simply it identifies FUNCTION.

Where as in defination, function cotains SET OF
STATEMENTS and expands SOURCE CODE in the form of
instructions
(all this is concept of functions)

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What language is oop?

1009


What is class encapsulation?

1094


Why do we use inheritance?

1117


What is difference between inheritance and polymorphism?

1028


How to improve object oriented design skills?

1015


What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

2605


2. Give the different notations for the class.\

2160


Why do while loop is used?

1035


What is the oops and benefits of oops programming?

975


What are the 3 pillars of oop?

1191


Which method cannot be overridden?

1093


Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.

2462


Can destructor be overloaded?

1033


What is the main purpose of inheritance law?

1197


What are the benefits of oop?

1257