Friday, August 12, 2011

How does the c keyword "extern" work ?

You can use just the scope resolution operator within the same file. But if it's in a different file, how would the compiler know what type the variable was without the extern declaration?

No comments:

Post a Comment