C Language
#include<stdio.h> #include<conio.h> void main() { char ch; clrscr(); printf ("Enter any character"); ch = getche(); printf("\n Character = % c", ch); getch(); } /*OUTPUT*/ Enter any character z Character = z