1.

What is the correct syntax of enum?

A. enum flag{constant1, constant2, constant3, ....... };
B. enum flag(constant1, constant2, constant3, ....... );
C. enum flag[constant1, constant2, constant3, ....... ];
D. enumflag{constant1, constant2, constant3, ....... };
Answer» B. enum flag(constant1, constant2, constant3, ....... );


Discussion

No Comment Found