getche() function is a function in C programming language which waits for any character input from keyboard and it will also echo the input character on to the output screen. Please find below the description and syntax for above file handling function.
This is a simple Hello World! C program. After displaying Hello World! in output screen, this program waits for any character input from keyboard. After any single character is typed/pressed, this program returns 0. But, please note that, getche() function will wait for any keyboard input (and press ENTER) and it will display the given input character on output screen immediately after keyboard input is entered.