App Logo

No.1 PSC Learning App

1M+ Downloads
In C, a global variable is a variable :

ADeclared in the main() function

BDeclared outside the body of every function

CDeclared in any function other than the main() function

DDeclared anywhere in the C programme

Answer:

B. Declared outside the body of every function


Related Questions:

What shall we use in the case of safe downcast?
Full Form for EBCDIC:
Which data structure is used for implementing recursion ?
Which access specifier is used for constructors in C++?
Identify the data structure which allows deletions at both ends of the list but insertion at only one end.