Vidyalelo
C Programming · Q4

Standard Library Functions

Programming · C Programming · question 4

Q4

What does the 'strcmp' function in C do?

A.
Compares two strings and returns an integer indicating their relationship
Answer
B.
Copies one string to another
C.
Concatenates two strings
D.
Searches for a substring

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board