Explore topic-wise MCQs in Testing Subject.

This section includes 657 Mcqs, each offering curated multiple-choice questions to sharpen your Testing Subject 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
Previous Next