Explore topic-wise MCQs in C Programming.

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

1.

What will be the output of the following C function?

A. 0
B. Compile time error
C. 1
D. 8View Answer
Answer» E.
2.

In the following code snippet, character pointer str holds a reference to the string ___________

A. Sanfoundry.com
B. Sanfoundry.com\0training classes
C. Sanfoundry.comtraining classes
D. Invalid declarationView Answer
Answer» C. Sanfoundry.comtraining classes