The goto statement can only jump to labels within the same _______. 

  • function 
  • file 
  • scope 
  • class
The goto statement in C++ can only jump to labels within the same function. Jumping between functions or other scopes would introduce significant complexity and is not allowed.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *