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

Give two or more real cenario of virtual function and vertual object

2286


What is balance factor?

1018


How oops is better than procedural?

1027


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2481


What is overriding in oops?

1057


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

4080


Why is polymorphism needed?

1002


What is data binding in oops?

1024


Is enum a class?

1003


Can you inherit a private class?

1058


what is difference between class template and template class?

2596


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

2096


What is encapsulation in ict?

995


what's the basic's in dot net

2120


What is overloading in oops?

1092