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 ?
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.
Got it. Thanks.