Solved

Which of the Following Correctly Declares an Enumerated Data Type

Question 19

Multiple Choice

Which of the following correctly declares an enumerated data type named student?


A) enum student { "Bill", "Tom", "Mary" };
B) int Bill = 1, Tom = 2, Mary = 3; enum student { 1, 2, 3 };
C) enum student { Bill, Tom, Mary };
D) Any of the above 3 methods will work.
E) None of the above 3 methods will work.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents