1 2 3 4 5 6 7 8 9 10 11
#include <stdio.h> int main() { char buffer[1000]; printf("Echo!\n"); while (1) { scanf("%s", buffer); printf("%s\n", buffer); } printf("What?"); }