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.
Loading...
Related Quiz
- When a float is converted to an int, the value is _______.
- Can a friend function of a class access the private members of that class?
- What does the struct keyword allow a C++ programmer to do?
- Considering cache efficiency, which STL container will provide the fastest element access and iteration in most cases?
- To check for possible errors or failures in file operations, you should check the _______.