Q:

C Program To Print Ascii Value Of Character

belongs to collection: Basic C Programs for Practice

0

 ASCII was developed from telegraph code. Its first commercial use was as a seven-bit teleprinter code promoted by Bell data services. Work on the ASCII standard began on October 6, 1960, with the first meeting of the American Standards Association's (ASA) (now the American National Standards Institute or ANSI) X 3.2 subcommittee. The first edition of the standard was published in 1963.
Full Form of ASCII Is ( American Standard Code for Information Interchange). Source Wikipedia
For ASCII Table Click Here  

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

#include<stdio.h>
void main()
{
char a;
int b;
printf("Enter The Character ");
scanf("%c",&a);
b=a;
printf("\nOutput Is =%d ",b);
}

 

Output:

Enter The Character g

Output Is =103

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

C Program To Find Area Of Triangle... >>
<< C Program To Find Area And Circumference Of Circle...