Solved

Which of the Following Is a Correct Declaration of Enumerated

Question 1

Multiple Choice

Which of the following is a correct declaration of enumerated type for the suits of a deck of cards?


A) enumerated type Suit = { hearts, spades, diamonds, clubs };
B) enum Suit {hearts, spades, diamonds, clubs };
C) enum Suit {hearts, spades, diamonds, clubs }
D) enumerated type Suit = {hearts, spades, diamonds, clubs };
E) enum Suit = { hearts, spades, diamonds, clubs }

Correct Answer:

verifed

Verified

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