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