Q.

What is a variable defined outside a function referred to as?

A. a static variable
B. a global variable
C. a local variable
D. an automatic variable
Answer» B. a global variable
Explanation: the value of a variable defined outside all function definitions is referred to as a global variable and can be used by multiple functions of the program.
3.7k
0
Do you find this helpful?
23

Discussion

No comments yet