Friday 26 August 2016

Print ASCII Value

 Print ASCII Value

#include studio.h>
#include conio.h>
int main()
 {
    char a;
    printf("Enter any character");
    scanf("%c", &a); 
    printf("ASCII value of %c = %d", a, a);
    return 0;

 }

0 comments:

Post a Comment

if you have any doubt please let me know