summaryrefslogtreecommitdiff
path: root/echo.c
blob: bf590a54c90f95b2f348fa060bac247bf57d3deb (plain)
1
2
3
4
5
6
7
8
9
#include <stdio.h>

int main(void) {
  int c;
  while ((c = getchar()) != EOF) { 
    putchar(c);
  }
  return 0;
}