Solved

Which of the Following Is a Correct Declaration of Enumerated

Question 9

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

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

Related Questions