Explore topic-wise MCQs in C.

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

1.

In the directive #pragma pack(n), if the value of n is given to be 5, then what happens?

A. Error
B. Warning but no error
C. Executes the pragma statement
D. Ignores the pragma statement and executes the program
Answer» E.