English, asked by krunaltarar, 5 months ago

A global variable is also known as__variable.​

Answers

Answered by samm210820
1

Answer:

In computer programming, a global variable is a variable with global scope, meaning that it is visible (hence accessible) throughout the program, unless shadowed. The set of all global variables is known as the global environment or global state

Answered by dreamrob
3

A global variable is also known as a class variable.​

  • A global variable is a variable that is declared immediately after creating the class, that is, before creating any function.
  • The scope of the global variable lies within a class.
  • Any function can access a global variable.
  • A global variable is used so that multiple functions can use a variable.
Similar questions