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.

Functions whose names begin with strn

A. manipulates sequences of arbitrary characters
B. manipulates null-terminated sequences of characters
C. manipulates sequence of non null characters.
D. returns a pointer to the token
Answer» D. returns a pointer to the token
2.

There are two groups of string functions defined in the header <string.h>. What are they?

A. first group names beginning with str; second group names beginning with mem
B. first group names beginning with str; second group names beginning with is
C. first group names beginning with string; second group names beginning with mem
D. first group names beginning with str; second group names beginning with type
Answer» B. first group names beginning with str; second group names beginning with is