This Domain is For Sale

Is the following statement a declaration or definition? [extern int i;]

  • 0 replies
  • 1371 views
*

Offline mechanic

  • Engineer
  • *****
  • 3420
  • Gender: Male
  • Engineer
    • View Profile
    • Engineering Forum
Question: Is the following statement a declaration or definition?
extern int i;



Options are:

A.    Declaration   
B.    Definition
C.    Function   
D.    Error


Correct answer is:

A.    Declaration