Tuesday, June 20, 2006

What does the extern keyword do?

Extern tells the compiler that the variable is defined elsewhere in the program (ie; in another file) and prevents redefinition and allocating new storage for the variable.

0 Comments:

Post a Comment

<< Home