Which function is used to compare two strings in C?
Which function is used to compare two strings in C?
A . strncmp()
B . strcmp()
C . stricmp()
D . strcasecmp()
Answer: B
Explanation:
strcmp() is used to compare two strings in C.
Latest CLP-12-01 Practice Questions with 160 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments