Examveda
Examveda

What does the 'strcmp' function in C do?

A. Compares two strings and returns an integer indicating their relationship

B. Copies one string to another

C. Concatenates two strings

D. Searches for a substring

Answer: Option A


This Question Belongs to C Program >> Standard Library Functions

Join The Discussion

Related Questions on Standard Library Functions