(no title)
hunson_abadeer | 2 years ago
main(int argc, char** argv) {
while (1) {
if (argc > 1)
for (int i = 1; i < argc; i++) printf("%s%c", argv[i], (i == argc - 1) ? '\n' : ' ');
else puts("y");
}
}
The point other folks are making is that it's written differently for a reason. Maybe not a reason that's important, but at the very least, let's try to compare apples to apples.
38|2 years ago
mturmon|2 years ago
moomin|2 years ago
unknown|2 years ago
[deleted]