ASCII VALUES : there are total 256 characters.
ranges from 0 to 255 ;
capital letters : 26 <A - Z >
small case letter : 26 < a - z >
numbers or digits : 10 < 0 - 9 >
special symbols : 32
control characters: 34:
graphics characters : 128 total : 256
copy and paste this code in c compiler :
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
/* program to print all the ascii character */
#include<conio.h>
#include<stdio.h>
int main()
{
int i=0;
while(i<256)
{ printf("\n %d = %c",i,i);
i++;
}
getch();
}/* above code will print all the ascii character */
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
/* ascii generator */
#include<conio.h>
#include<stdio.h>
int main()
{
int i=0;
printf("\nENTER INTEGER VALUE : ");
scanf("%d",&i);
printf("\n %d = %c",i,i);
getch();
}/* above code will print the ascii character of given number */
thank u......:)
ReplyDelete