A program that read any character & display ASCII value in C.

#include<stdio.h>
#include<conio.h>

void main()
{
    char n;
    clrscr();
    printf("Enter any character : ");
    scanf("%c",&n);
    printf("The equivalent ASCII value is : ");
    printf("%d",n);
    getch();
}



////////////////////////////////////////////
Copy & paste this code in your TC & run, then you will get output.......
If you have any problem please comment below.........