Program to find out ASCII value of Character

#include<stdio.h>

int main()
{
    printf("\n\n\t\tTech Apurba - CodersCrazy\n\n\n");

    char c;
    printf("Enter a character : ");
    scanf("%c" , &c);
    printf("\n\nASCII value of %c = %d",c,c);

    return 0;
}


OUTPUT:
                   Apurba Khanra - CodersCrazy
Enter a character : a
ASCII value of a = 97



For Other Programs Visit The WebSite:-   https://www.techapurba.com/

Follow Me On Social Media :-


For tech related videos visit my other website :- https://apurbatechinfo.blogspot.com/


Post a Comment

0 Comments