#include<stdio.h>
#include<conio.h>
void main()
{
char n;
clrscr();
printf("Enter any character : ");
scanf("%c",&n);
printf("The character you have given is : ");
printf("%c",n);
getch();
}
////////////////////////////////////////////
Copy & paste this code in your TC & run, then you will get output.......
If you have any problem please comment below.........