Explore topic-wise MCQs in C Questions and Answers.

This section includes 2 Mcqs, each offering curated multiple-choice questions to sharpen your C Questions and Answers knowledge and support exam preparation. Choose a topic below to get started.

1.

Consider this statement: typedef enum good {a, b, c} hello; Which of the following statements is incorrect about hello?

A. hello is a typedef of enum good
B. hello is a structure
C. hello is a variable of type enum good
D. the statement shown above is erroneous
Answer» B. hello is a structure
2.

We want to declare x, y and z as pointers of type int. The alias name given is: intpt The correct way to do this using the keyword typedef is:

A. a)
Answer» E.