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

Discussion

In statement "After last mark enter -1" in COMAL programming language, rogue value is

  • A.-1
  • B.last
  • C.mark
  • D.after

Answer: A

Correct answer: -1

A rogue value is a value outside the range of the real data, used to signal the end of input. Marks cannot be negative, so -1 can never be mistaken for a mark, which is precisely what makes it a safe terminator.

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

Post your comment

Please log in or register to post a comment.