How are array values stored in Little Endian vs. Big Endian architecture
问题 I am inquiring about how to tell when one element in an array has finished and another is beginning in an endian architecture. I have 2 arrays where the size of long is 8 and the size of char is 1 long x[2] = {0x012345,0xFEDC}; char c[12] = {'a','b','c','d','e','f','g','h','0','1','2','3'}; And I was wondering how these values would be stored in the different Endian architectures if we consider x starting at memory address 0x100 and c starting at memory address 0x200 . I thought that the Big