First Half and last half
<p>How many ways are there to get the first two bytes and last byte from an integer of byte. Also consider the big-endian and little-endian.</p>

<p>One solution might be to take an union containing an integer and two short integers. But here output may be different because of lit-endian and big-endian. Basically first half and second half has the name and access by the name, and that's why these two variables may have different values on big-endian and lit-endian.</p>
