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 / amiya

defination=(declration+space reservation)
int a; -------------Declaration
a=20; ------------- Defination

For Function

int amiya(int a,int b); ---------------Declaration
int a=amiya(5,10) ---------------Function call
int amiya(int a,int b) Function Defination Logic is here
{
int c=a+b;
return(c);
}

Is This Answer Correct ?    24 Yes 33 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is class and object in oops?

1143


Can destructor be overloaded?

1034


What is new keyword in oops?

1044


What is class and object with example?

1130


How Do you Code Composition and Aggregation in C++ ?

25469


What do you mean by variable?

1038


Is html an oop?

1062


What are the three parts of a simple empty class?

2049


write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory

3224


Is data hiding and abstraction same?

1030


Explain the advantages of inheritance.

1149


What are the benefits of polymorphism?

1274


What are classes oop?

1021


What is class in oop with example?

1099


What is the significance of classes in oop?

1154