Wanna have fun with Binary and ASCII stuff...
open command prompt. Press ALT key and while key is kept pressed, type the Binary code for 'A', which is 1000001. Now, when you will release the ALT key, you will get 'A' printed on prompt. But if you try typing Binary of 'B' (1000010), you will get 'J'.
WHY???
The answer is simple...
Console does not understand Binaries. Instead, it works with ASCII codes. If you press ALT key and type some ASCII code, it will print the character equivalent of that ASCII. In case the number is larger than 256, it will be divided by 256 and remainder will be treated as the new number to be evaluated. As a matter of fact, when we mod binary code or 'A', we get ASCII code for 'A' itself. But in binaries of 'A' and 'B', there is a difference of 10 decimal numbers. So J is printed.
So, just hv fun with other binary stuff.
