# include 'stdio.h' // assigns stdio-h header file to //your program
void main ( ) // Indicates the starting point of the //program.
{
char C, // variable declaration
printf (“Type one character:”); // message to user
C = getchar () ; // get a character from key board //and Stores it in variable C.
Printf (” The character you typed is = %c”, C) ;
}