Machine-translated by Google. Questions are authored in English.
Top

Discussion

Which of the following is correct with respect to “Jump Statements” in C?

  • A.goto
  • B.continue
  • C.break
  • D.All of the above.

Answer: D

Correct answer: All of the above.

C has four jump statements, and three of them are listed: goto, which transfers to a label in the same function; continue, which starts the next iteration; and break, which leaves a loop or switch. The fourth is return.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.