keyword for the global variable?
Answers
Answered by
0
Answer:
In such a scenario we use the global keyword with the variable name. A variable declared outside a function is a global variable by default. We use a global keyword for a variable which is inside a function so that it can be modified. Without the global keyword, the variable inside a function is local by default.
Hope this will help you...
Answered by
0
Explanation:
In such a scenario we use the global keyword with the variable name. A variable declared outside a function is a global variable by default. We use a global keyword for a variable which is inside a function so that it can be modified. Without the global keyword, the variable inside a function is local by default.
Similar questions