

MCQOPTIONS
Saved Bookmarks
This section includes 3 Mcqs, each offering curated multiple-choice questions to sharpen your Technical MCQs knowledge and support exam preparation. Choose a topic below to get started.
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, ....... }; |
E. | |
Answer» B. enum flag(constant1, constant2, constant3, ....... ); | |
2. |
All enum constants are? |
A. | Same in their scope |
B. | unique in their scope |
C. | contain dupicate value in their scope |
D. | None of the above |
Answer» C. contain dupicate value in their scope | |
3. |
Enumeration (or enum) is a ______ data type in C? |
A. | user defined |
B. | built-in |
C. | libary |
D. | None Of the above |
Answer» B. built-in | |