Keys haven't got ASCII codes. You might mean the scan code which is returned by functions like getch(TurboC) and ReadKey(TurboPascal) prefixed by a zero value.
Left: 0, 75
Right: 0, 77
Up: 0, 72
Down: 0, 80
PgUp: 0, 73
PgDn: 0, 81
Home: 0, 71
End: 0, 79
Ins: 0, 82
Del: 0, 83
Nothing, but the code of the space character is 32 (hex 20H)
The ASCII value of blank space ' ' is 32.
Ascii value of 5 is 53.
The ascii value of zero - is 48.
int main (void) { printf ("space is %d\n", ' '); return 0; }
ASCII standardizes characters between 0 and 127.
There is no ASCII value of :-) ASCII encodes only single characters, assigning a numerical 0-127 value to each character. However, if you want the ASCII encoding of a smiley, here's some samples (using Hex values): :-) 0x3A2D29 :) 0x3A29
32 is the ASCII Code for a space.
Ascii value of 5 is 53.
The ascii value of zero - is 48.
int main (void) { printf ("space is %d\n", ' '); return 0; }
The ASCII value for "C" is 67, for "c", 99.
\ is the character for 92 in ASCII.
In octal notation, the ASCII code for a space is 040. So, the octal equivalent for a space is simply 040.
deepak
The ASCII value of capital K is 75. For a small k it is 107.
ASCII standardizes characters between 0 and 127.
There is no ASCII value of :-) ASCII encodes only single characters, assigning a numerical 0-127 value to each character. However, if you want the ASCII encoding of a smiley, here's some samples (using Hex values): :-) 0x3A2D29 :) 0x3A29
ASCII is used to determine which character to display when a keyboard key is pressed, or code entered.