asked 17.3k views
4 votes
Which of the following is not a valid enumeration statement?(a) enum person { me, you, them };(b) enum person { me = 1, you = 2, them = 3 };(c) enum person { me = 0, you = 0, them = 0 };(d) enum person { me, you, me };

1 Answer

4 votes

Answer:

(d) enum person { me, you, me };

Step-by-step explanation:

enum person { me, you, me }; is invalid enumeration statement.

answered
User Phanto
by
8.9k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.