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.

Which of the following is the variable type defined in header string. h?

A. sizet
B. size
C. size_t
D. size-t
Answer» D. size-t
2.

The ______ function appends not more than n characters.

A. strcat()
B. strcon()
C. strncat()
D. memcat()
Answer» D. memcat()