Added tutorial ex_2-5. Function returns location of char in string.
[C-Programming-Examples.git] / get_chars.c
blob439754898d7419f09e19ef53699cae790da5d6e0
1 #include <stdio.h>
3 main()
5 int c;
6 c = getchar();
7 while ((c = getchar()) != EOF){
8 putchar(c);