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

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

For Function

int alok(int a,int b); ---------------Declaration
int a=alok(5,10) ---------------Function call
int alok(int a,int b) Function Defination Logic is here
{
int c=a+b;
return(c);
}
// Alok contact number 9993032168,9650549204

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is react oop?

1016


What is encapsulation and abstraction? How are they implemented in C++?

1073


why reinterpret cast is considered dangerous?

2336


Can a varargs method be overloaded?

1039


Can you explain polymorphism?

1048


What is and I oop mean?

1110


Where You Can Use Interface in your Project

1837


What is difference between oop and pop?

1104


What is abstract class in oops?

976


What are the 4 pillars of oop?

1091


any one please tell me the purpose of operator overloading

2341


Why is static class not inherited?

1048


What is the main purpose of inheritance law?

1149


How long to learn object oriented programming?

1031


Can bst contain duplicates?

1145