strcasecmp c
#include <stdio.h>
#include <strings.h>
int main() {
char str1[] = "Hello";
char str2[] = "hello";
if (strcasecmp(str1, str2) == 0) {
printf("The strings are equal ignoring case.\n");
} else {
printf("The strings are not equal ignoring case.\n");
}
return 0;
}