Q. Which one of the following is incorrect?
-
(A)
The variables used inside function are called local variables.
-
(B)
The local variables of a particular function can be used inside other functions, but these cannot be used in global space
-
(C)
The variables used outside function are called global variables
-
(D)
In order to change the value of global variable inside function, keyword global is used.
β
Correct Answer: (B)
The local variables of a particular function can be used inside other functions, but these cannot be used in global space