Online GK Series

This site is dedicated to the aspirants of competitive exams SSC, UPSC, Railways, Bank, GATE and NET


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.

Your Valuable Comments Please...

Please Like Us