C strcmp()
The strcmp() function compares two strings and returns 0 if both strings are identical.
Output of the below program:
strcmp(str1, str2) = 32
strcmp(str1, str3) = 0
Mixed-up sentence exercise
Put the parts in order to form a sentence. When you think your answer is correct, click on "Check" to check your answer. If you get stuck, click on "Hint" to find out the next correct part.