Can we see the output of program at dos prompt
View Single Post
at the end of the program.
getch(); is used for get one character from the user.
by doing that after execution of the program it will hold the screen and when you press any key then it will go to source code.