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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); | |
} |
Comments
Post a Comment