Rotate your phone or change to desktop for better experience

Rotate your phone or change to desktop for better experience

ASCII VALUE OF A VARIABLE

 #include<stdio.h>

void main()

{

    char a;

    

    printf("enter a character:");

    scanf("%c",&a);

    

    printf("ASCII value of character %c is %d",a,a);

}

Post a Comment

0 Comments