strcump in c code example Example 1: strcmp c library #include <string.h> Example 2: string compare in c strcmp(str1, str2) = 32 strcmp(str1, str3) = 0