_________function compares the two string variables passed to it.
1 point
a)strupr()
b)strcmp()
c)strcat()
d)strcpy
Answers
Answered by
0
Answer:
The strcmp() function compares the character of both the strings. If the first character of both the strings are same, then this process of comparison will continue until all the characters are compared or the pointer points to the null character '\0'. When both the strings are equal.
Answered by
0
● (B) strcmp() function compares the two string variables passed to it.
Similar questions