Which of the following is not true about Global Variables:
Which of the following is not true about Global Variables:
- A.
The values of the Global variables which are sent to the called function may be changed inadvertently by the called function.
- B.
Functions are supposed to be independent and isolated modules. This character is lost, if they use global variables.
- C.
It is not immediately apparent to the reader which values are being sent to the called function
- D.
A function that uses global variables does not suffer from reusability.
Attempted by 71 students.
Sign up free to check your answer
Sign up freeLoading lesson…

