My computer appears to store ints in bigendian order. For example 0xFF440022 is 4 282 646 562. However it stores string data in little endian order? Ie. hello world is something like
lleh o wo rld . Why is this? Is this machine considered big-endian or little-endian?
My computer appears to store ints in bigendian order. For example 0xFF440022 is 4
Share
A single byte (char) doesn’t have endian-ness. A string is simply stored left-to-right with the left most character at the lowest address.