Multiple choice

Use of goto statement may be harmful because

  1. It increases the running time of programs

  2. It makes program verification difficult

  3. It increases the memory required for programs

  4. It results in compiler generating larger machine code

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The goto statement creates non-linear control flow, making it difficult to trace the state of the program and verify its correctness.