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

Discussion

A labelled statement consists of an identifier followed by

  • A.;
  • B.:
  • C.,
  • D.=

Answer: B

Correct answer: :

A label is an identifier followed by a colon - here: - marking a point that goto can jump to. The same colon form is used by case and default labels inside a switch. Labels have function scope, so a goto can only reach one in the same function.

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

Post your comment

Please log in or register to post a comment.