codeGK
Code it ALL
strcmp() in C - CodeGK

♦ strcmp() in C

♣ Example6: strcmp() in C

strcmp() is a in-built C method(function) to compare two strings and output a result.
In this example, the program will compare string str1 and str2.
Example
Input:
Output:
Strings