C Program Code to find the ASCII value

ASCII (American Standard Code for Information Interchange) code is used to represent text in computers and other devices. Using this program code you can find the corresponding ASCII value of any character in your keyboard.


#include<stdio.h>
int main()
{
char a;
printf("Enter the character: ");
scanf("%c",&a);
printf("The corresponding ASCII value is %d",a);
getch();
return(0);
}
view raw gistfile1.txt hosted with ❤ by GitHub

Comments