In C++, using goto to jump over the initialization of a variable will result in _______. 

  • compilation error 
  • uninitialized variable 
  • runtime exception 
  • optimized behavior
Jumping over the initialization of a variable using the goto statement will result in a compilation error because the compiler will identify it as an attempt to bypass variable initialization.
Add your answer
Loading...

Leave a comment

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