#include <stdio.h>
#include <string.h>
int main(void)
{
char *firt;
char *second;
firt = "World!";
second = "World!";
printf("%d\n", strcmp(firt, second));
firt = "World!";
second = "Wor!";
printf("%d\n", strcmp(firt, second));
firt = "Wor";
second = "World!";
printf("%d\n", strcmp(firt, second));
return (0);
}
To embed this project on your website, copy the following code and paste it into your website's HTML: