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 }
c) enum Suit {hearts, spades, diamonds, clubs }
Computer Science & Information Technology
You might also like to view...
Specter can be used to simulate which of the following services?
a. SMTP b. FTP c. HTTP d. All the above
Computer Science & Information Technology
____ make it possible to draw sketches and make doodles.
A. E-readers B. E-writers C. E-tech D. E-paper
Computer Science & Information Technology