Why do we write getch () in turbo c??
It is used to get user input at the same time it holds the screen.
Generally it is used to let program pause for a moment till the time user don't press a button so that he/she can see the output properly. Otherwise programm will execute everything at once and user will have no idea what just happened.