Syntax of strcmp() in C
strcmp(first_str, second_str );
C strcmp()
In C language, the <string.h> header file contains the Standard String Library that contains some useful and commonly used string manipulation functions. In this article, we will see how to compare strings in C using the function strcmp().