C Program to Print a Character

C – Print a Character C language Program Code

#include
#include
void main()
{
char a;
clrscr();
printf(“Enter a character:”);
scanf(“%c”,&a);
printf(“The character you have entered is:%c”,a);
getch();
}

Add Comment