Re: ASCII Code confusion
check this program
void main()
{
char x,y,z;
clrscr();
printf("Press any key");
x=getch();
if(x==0)
{
y=getch();
printf("\nExtended Ascii code is %d",y);
}
else
{
printf("\nAscii Code is %d",x);
}
getch();
}
__________________
Windows and linux hosting at http://www.ewebguru.com
Get $50 per blog post PM me for details.
|