Computer Science, asked by maruf58, 6 months ago

keyword for the global variable?​

Answers

Answered by ashishantil508
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 vedahallakayi2005
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