Everything for begineers, Programming Language and lot more about IT and modern Technology
Pages
Home
C++ Coding
VHDL Coding
About Me
Tuesday, 7 July 2015
ASCII CODE OF ANY VARIABLE
#include<stdio.h>#include<conio.h>
int main()
{
char variable;
printf("Enter character\n");
scanf("%c",&variable);
printf("ASCII value is %d",variable);
getch();
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment