Answer :

#include<stdio.h>

int main ()

{

char a;

printf("Enter the character : ");

scanf("%c",&a);

printf("The assaci value of the entered character is %d",a);

}

Output :