shouldnt c1 and c2 print different characters..........????
ie for c2 it should print sumthin invlaid as it is out of its range(on a 16 bit machine )also how do we determine data range on say 64 bit machine?????plz help
-127 is stored as 0x81 in memory. the only difference in terms of data type is how this memory is interpreted. As far as one byte characters go, -127 and 129 are the same.
I'm not as much help for a 64bit character, though this is why there are wide-characters and such.