int main()
{
- const char *s = "This is cool";
- const char *t;
+ const char *s = "no compiler is perfect";
+ const char *t = s;
+ char c = *t;
- for(t=s; !((isspace(*t) || (*t == '\"')) || *t=='\0'); t++)
- ;
+ for( ; !((c == ' ') && (c != '\"')); t++) {
+ c = *t;
+ }
printf("Res: %s\n", t);