The function strcmp (“Abcd”,”ABCD”) will return?
a) -1
b) 0
c) 1
d) None of these
Answers
Answered by
38
Answer:
c) 1
Explanation:
The screenshot of input output is attached
the answer will be positive if str 1 is greater than the other
the answer will be negative if str 1 is lesser than the other
the answer will be zero if str 1 is equal the other
Attachments:
![](https://hi-static.z-dn.net/files/da4/229a42e001b024ad4bfd8c0b61f5746b.jpg)
Similar questions