Endian representation of 64-bit values
问题 Suppose I have unsigned long long x = 0x0123456789ABCDEF . Which of the following is correct? (I can verify only the first one): On a 32-bit little-endian processor, it will appear in memory as 67 45 23 01 EF CD AB 89 . On a 64-bit little-endian processor, it will appear in memory as EF CD AB 89 67 45 23 01 . On a 32-bit big-endian processor, it will appear in memory as 01 23 45 67 89 AB CD EF . On a 64-bit big-endian processor, it will appear in memory as 01 23 45 67 89 AB CD EF . 回答1: The