Online GK Series

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

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.

Computer Science Books

Your Valuable Comments Please...

Please Like Us
Brand