What is Global Variable ?

1 Answer

Answer :

: Variable declared outside all functions is called Global Variable .

Related questions

Description : What does the word Global Village mean ?

Last Answer : The word global village means global village.

Last Answer : Marshall McLuhan (1911-1970), inventor of "Global Village" and " The Medium is the Message"

Description : What is a Boolean variable ?

Last Answer : If the value of a Boolean variable depends on one or more independent variables, the dependent variable is called Boolean variable.

Description : What is a variable ?

Last Answer : In C language, the name used to store data in memory is called variable.

Description : In IPv4 layer, datagram is of ________ a) Fixed length b) Variable length c) Global length d) Zero length

Last Answer : b) Variable length

Description : Why are local variable names beginning with an underscore discouraged? a) they are used to indicate a private variables of a class b) they confuse the interpreter c) they are used to indicate global variables d) they slow down execution

Last Answer : Answer: a Explanation: As Python has no concept of private variables, leading underscores are used to indicate variables that must not be accessed from outside the class.