The getche() = get character echo.
It is also used to get a single character from the keyboard during the program execution.
When this function is executed, the character entered by the user is displayed
on the screen.
Syntax:
Variable name=getche();
Example
#include<stdio.h>
#include<conio.h>
void main ()
{
clrscr();
char p;
printf("enter any
character:");
p=getche();
printf("the character u
entered=%c",p );
getch();
}
Output
enter any character:x
the character u entered=x