Рет қаралды 94,211
GLOBAL VARIABLE : A variable declared outside of the function or in global scope is known as global variable. This means, global variable can be accessed inside or outside of the function.
LOCAL VARIABLE : A local variable is a variable which is either a variable declared within the function or is an argument passed to a function.