Лабораторный курс 1 / Задание 1 / Комплект А /

#include <stdio.h>
void main()
{
char c;
printf("Enter the character: \n");
scanf("%c", &c);
printf("ASCII value of %c is %d \n", c,c);
}
Output :
Enter the character: a
ASCII value of a is 97