The ______ statement allows us to jump to a specific point in the code, though it's generally discouraged due to readability concerns.
- Break
- Continue
- Goto
- Return
The "goto" statement is used to transfer control to a specific labeled section of code. However, it's generally discouraged in modern programming because it can lead to unreadable and hard-to-maintain code. Structured programming practices promote the use of more structured control flow constructs like loops and conditional statements.
Loading...
Related Quiz
- The loop that first checks the condition and then executes its body is called ______.
- You are developing a simulation that runs in discrete time steps...
- A function that calls itself directly or indirectly is known as a _______ function.
- Function overloading allows multiple functions to have the same name but with a different ______.
- Which of the following stream classes is suitable for both reading and writing operations?