Q:

WHAT IS GLOBAL VARIABLE IN C?

belongs to collection: C INTERVIEW QUESTIONS AND ANSWERS

0

WHAT IS GLOBAL VARIABLE IN C?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

The variables which are having scope/life throughout the program are called global variables. Global variable is defined outside the main function. So, this variable is visible to main function and all other sub functions.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

C INTERVIEW QUESTIONS AND ANSWERS

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
WHAT IS ENVIRONMENT VARIABLE IN C?... >>
<< WHAT IS LOCAL VARIABLE IN C?...