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 diffrance between declaration and defination of a variable or function

Answer Posted / manish soni bca 3rd year jaipu

IN FUNCTION;
-------------------------------------------
1:)DECLARE: int sum(int);//close with semicolon;

2:)DEFINATION: int sum(int n)//not colse with semicolon;
{
//logic of the function;
}

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how do you list files in a directory?

1028


What is a stream in c programming?

1101


What is meant by realloc()?

1103


What is the difference between fread and fwrite function?

1054


Can you apply link and association interchangeably?

1083


What is null pointer constant?

1087


What is the difference between arrays and pointers?

1083


Why are all header files not declared in every c program?

1056


Explain what is the difference between a free-standing and a hosted environment?

1139


What is difference between main and void main?

1133


What is difference between far and near pointers?

999


Explain pointer. What are function pointers in C?

1031


Describe dynamic data structure in c programming language?

1055


What are categories used for in c?

1047


Are enumerations really portable?

989