Multiple choice

The 'goto statement' causes control to go to _____.

  1. an operator

  2. a label

  3. a variable

  4. a function

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

The goto statement transfers control to a labeled statement within the same function. You use goto with a label like 'my_label:' and then 'goto my_label;' to jump to that point. Option B correctly states that goto causes control to go to 'a label'. It cannot jump to operators (A), variables (C), or functions (D) - only to labeled statements within the current function.