Wrong Answer
/in/foo.c: In function 'main': /in/foo.c:13:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (c == '\n') ^~ /in/foo.c:15:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ /in/foo.c:18:23: warning: 'str' may be used uninitialized in this function [-Wmaybe-uninitialized] for (char *p=str; *p != '\0'; p++) ^~