C Program to print the ASCII value of the entered character Posted by Shrinidhi Katti Get link Facebook X Pinterest Email Other Apps #include<stdio.h> int main() { char ch; printf("Enter the character\n"); scanf("%c",&ch); printf("The ASCII value is: %d",ch); } Output: Comments
Comments
Post a Comment