ASCII Value In C

Finding Ascii value of a char in C

Q. How to find ASCII value in C #include<stdio.h> #include<conio.h> void main () { int a,b; clrscr(); printf(“Enter digit to get it’s character value= “); scanf(“%d”,&a); printf(“The character vlaue is\t%c”,a); getch(); } After Running program 🙂