What is global variable in C?

C Programming Language >   Variable in C Language >   Global variables in C  

Short Question

859


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.


This Particular section is dedicated to Question & Answer only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.