see if two strings are equal in C
#include <stdio.h>
#include <string.h>
int main() {
char str1[] = "Hello";
char str2[] = "Hello";
if (strcmp(str1, str2) == 0) {
printf("The two strings are equal");
} else {
printf("The two strings are not equal");
}
return 0;
}