PrepAway - Latest Free Exam Questions & Answers

What does that mean?

You analyze the code of a collegue and see, it uses the function strcasecmp. You try it out to see
what it does and use the following function call:
<code>
strcasecmp(‘hello my dear!’, ‘Hello my DEAR!’);
</code>
The function call returns “0”. What does that mean?

PrepAway - Latest Free Exam Questions & Answers

A.
String 1 is less than string 2.

B.
The strings are considered equal.

C.
String 2 is less than string 1.

D.
The strings have equal length.


Leave a Reply

Your email address will not be published. Required fields are marked *