char str[32]; strcpy(str,"Hello"); if (strcmp(str,"Hello")) { printf("Do you think this message will be displayed?\n"); } if (!strcmp(str,"Hello")) { printf("What about this message?\n"); }