When i run program below on turbo c compiler,i got the output but i can't get out of the output screen,seems like while loop is not ending due to some reason..............
Please tell me friends why is this happening and it's solution?Code:#include<stdio.h> #include<conio.h> void main() { int c; while((c=getchar())!=EOF) { putchar(c); } getch(); }