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:

Change case contains:
In C++, the number 135, 45 is a :
Protocol used by WWW:
Which of the following is the correct declaration for an array ?
Which of the following is a phase of a compilation process?