What are global variables?

Global Variables are those, which are required to be acccessed by all the functions defined after their declaration. So, the variables declared before the main {) can be acccessed by all the functions, which follow their declaration.

Leave a Reply

Your email address will not be published. Required fields are marked *