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 definition and declaration?
give me some examples.

Answer Posted / code00002

A declaration introduces an identifier and describes its
type, be it a type, object, or function. A declaration is
what the compiler needs to accept references to that
identifier. These are declarations:

extern int bar;
extern int g(int, int);
double f(int, double); // extern can be omitted for function
declarations
class foo; // no extern allowed for class declarations

complete on http://answerwale.co.cc/?p=39#comment-23

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of function overloading in C?

1150


Why is c not oop?

962


What are the properties of union in c?

1040


How many levels deep can include files be nested?

1129


Can a file other than a .h file be included with #include?

1152


Is a house a mass structure?

1081


Explain what is wrong with this program statement?

1107


What is use of integral promotions in c?

1128


How can you tell whether a program was compiled using c versus c++?

1089


Define the scope of static variables.

1114


What does volatile do?

974


how many errors in c explain deply

2074


define string ?

1089


Explain the term printf() and scanf() used in c language?

1035


Is flag a keyword in c?

1142