MCQs > IT & Programming > C Programming > What does the strcmp(str1, str2); function return?

C Programming MCQs

What does the strcmp(str1, str2); function return?

Answer

Correct Answer: 0 if str1 and str2 are the same, a negative number if str1 is less than str2, a positive number if str1 is greater than str2

Explanation:

Note: This Question is unanswered, help us to find answer for this one

C Programming Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

C Programming Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it