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

What does c value mean?

1203


Differentiate between calloc and malloc.

1276


Explain what is a const pointer?

1088


When should you not use a type cast?

1127


Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?

1006


Why functions are used in c?

1142


how to capitalise first letter of each word in a given string?

1930


Why do we need functions in c?

1025


Explain what are the __date__ and __time__ preprocessor commands?

1130


.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }

1304


What are high level languages like C and FORTRAN also known as?

1176


What is linear search?

1141


List some of the dynamic data structures in C?

1249


What is a struct c#?

1056


Explain the difference between #include "..." And #include <...> In c?

1033