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

Discussion

Arithmetic operations are not allowed on enumerated constants.

  • A.TRUE
  • B.FALSE
  • C.May Be
  • D.Can't Say

Answer: B

Correct answer: FALSE

The statement is false. Enumerated constants are integers, so arithmetic on them is perfectly legal - b * c + e - d compiles and computes. C provides no type safety here at all.

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

Post your comment

Please log in or register to post a comment.