You are viewing a single comment's thread. Return to all comments →
Why is this wrong? The expected output is identical to what I'm getting.
int main() { char s[100]; fgets(s, sizeof(s), stdin); printf("Hello World!\n%s", s); return 0; }
Seems like cookies are disabled on this browser, please enable them to open this website
"Hello World!" in C
You are viewing a single comment's thread. Return to all comments →
Why is this wrong? The expected output is identical to what I'm getting.