Question
If the two strings are identical, then strcmp() function returns
Answer: Option C
Was this answer helpful ?
Declaration: strcmp(const char *s1, const char*s2);
The strcmp return an int value that is
if s1 < s2 returns a value < 0
if s1 == s2 returns 0
if s1 > s2 returns a value > 0
Was this answer helpful ?
Submit Solution