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 with example?

1134


How do you explain polymorphism?

1079


What is this pointer in oop?

1074


What is difference between polymorphism and inheritance?

1091


How do you answer polymorphism?

1063


Why do we use class?

1090


What is object in oops?

1071


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2621


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6680


What is destructor example?

1050


Why is oop better than procedural?

1084


How to improve object oriented design skills?

1017


What does it mean when someone says I oop?

1063


What is polymorphism explain?

1260


What is overloading and its types?

1176