Sunday, July 17, 2011

What is the point of extern C?

extern defines a global variable that is visable to ALL object modules. When you use 'extern' the variable cannot be initalized as all it does is point the variable name at a storage location that has been previously defined.

No comments:

Post a Comment