Thread: Debugging Help
View Single Post
Mentor
13Feb2009,17:36  
xpi0t0s's Avatar
Code:
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");
}