To use extern variable _____________________
(a) The source file must not be included in the new file code
(b) The source file itself must be used for a new program
(c) The source file must be included in the new file
(d) The source file doesn’t matter for extern variables
I had been asked this question in an interview for internship.
This is a very interesting question from Extern Variable topic in chapter Memory Allocation & Scope of Variable of Object Oriented Programming