Difference between revisions of "2016-17 Programmi C"
Jump to navigation
Jump to search
(Created page with "<source language=C> #include <stdio.h> int main(int argc, char *argv[]) { int c; while ((c = getchar()) != EOF) putchar(c); } </source>") |
m |
||
Line 1: | Line 1: | ||
− | < | + | <syntaxhighlight lang=C> |
#include <stdio.h> | #include <stdio.h> | ||
Line 7: | Line 7: | ||
putchar(c); | putchar(c); | ||
} | } | ||
− | </ | + | </syntaxhighlight> |
Revision as of 09:51, 1 October 2016
#include <stdio.h>
int main(int argc, char *argv[]) {
int c;
while ((c = getchar()) != EOF)
putchar(c);
}