#include<stdio.h>
main()
{
char c;
printf("press any key:\n");
c=getch();
printf(" ascii in decimal system: %d\n",c);
printf("ascii in hex system: %x \n",c);
printf("ascii in octal system:%o \n",c);
}
TRY THIS FRENZZ.....
main()
{
char c;
printf("press any key:\n");
c=getch();
printf(" ascii in decimal system: %d\n",c);
printf("ascii in hex system: %x \n",c);
printf("ascii in octal system:%o \n",c);
}
TRY THIS FRENZZ.....
0 comments:
Post a Comment