What is global variable?
-Global variable are those whose scope are present everywhere in the program.
-or, global variable can be accessible from anywhere in the program.
-global variable are destroy when the execution of program stop.
How make global variable?
To make a variable as a global we have a two method:
-declared variable from outside of the function.
-or, if we make a variable inside function then write "global data_type variable_name"
How we access global variable if local variable are also have same name?