if (!strcmp (invar, "true")) printf ("It's true\n"); else printf ("It's false\n");