Computer Science, asked by alit3988, 1 year ago

The function strcmp (“Abcd”,”ABCD”) will return?
a) -1
b) 0
c) 1
d) None of these

Answers

Answered by nidaeamann
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:
Similar questions