void f() { if ( strcmp(str, "abc") == 0 ) abc = true; else abc = false; }