Explore topic-wise MCQs in C.

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

1.

What will be the output for the given code printf( n The number is %07d ,1212);

A. The number is 0001212
B. The number is 1212
C. The number is 1212
D. The number is 1212000
Answer» B. The number is 1212
2.

What will the given code result in printf( n you are awesome " ");?

A. compile error
B. run-time error
C. you are "awesome"
D. you are awesome
Answer» D. you are awesome