I have the following program:
int main(int argc, char *argv[]) { char ch1, ch2; printf(\"Input the first character:\"); // Line 1 scanf(\"%c\", &ch
You can do it (also) this way:
fseek(stdin,0,SEEK_END);