Computer Science · Programming Languages
Which of the following statements is NOT true about Global Variables?
- 1The values of the global variables which are sent to the called function may be changed inadvertently by the called function.
- 2Functions are supposed to be independent and isolated modules. This character is lost if they use global variables.
- 3It is not immediately apparent to the reader which values are being sent to the called function.
- 4A function that uses global variables does not suffer from reusability issues.✓
Correct answer
A function that uses global variables does not suffer from reusability issues.
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Programming Languages?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Programming Languages