GkSeries.com

Q.

How is a variable accessed from another file?

[A] via the extern specifier
[B] via the auto specifier
[C] via the global specifier
[D] via the pointer specifier
Answer & Explanation
Option: [A]

The extern keyword is used to indicate that the variable can be accessed by another file. It's name is visible globally.