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

Discussion

Enumeration (enum) is a ______ data type in C.

  • A.user defined
  • B.built-in
  • C.library
  • D.None Of the above

Answer: A

Correct answer: user defined

An enumeration is a user-defined type: the programmer names the type and lists its constants, and the compiler then treats it as a type in its own right - even though its representation is an int.

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

Post your comment

Please log in or register to post a comment.