If I have something like 0xff on a 16 bit machine, would it look like
0000 0000 1111 1111
In other words, would there be leading zeros in front of 1111 1111 ?
This is a discussion on How does 0xff get represented on a 16 bit machine? within the C Programming forums, part of the General Programming Boards category; If I have something like 0xff on a 16 bit machine, would it look like 0000 0000 1111 1111 In ...
If I have something like 0xff on a 16 bit machine, would it look like
0000 0000 1111 1111
In other words, would there be leading zeros in front of 1111 1111 ?
Yes.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I support http://www.ukip.org/ as the first necessary step to a free Europe.
Got it. Thanks.