title: How are array values stored in Little Endian vs. Big Endian architecture
body: <p>I am inquiring about how to tell when one element in an array has finished and another is beginning in an endian architecture.</p>
  <p>I have 2 arrays where the size of <code>long</code> is 8 and the size of <code>char</code> is 1</p>
  <p><code>long x[2] = {0x012345,0xFEDC};</code></p>
  <p><code>char c[12] = {'a','b','c','d','e','f','g','h','0','1','2','3'};</code></p>
  <p>And I was wondering how these values would be stored in the different Endian architectures if we consider <code>x</code> starting at memory address <code>0x100</code> and <code>c</code> starting at memory address <code>0x200</code>.</p>
  <p>I thought that the Big Endian address would be <code>{01,23,45,FE,DC}</code> where the first element of the set is at memory address <code>0x100</code>, the next is <code>0x101</code>, third is <code>0x102</code>, and so on since it stores the values based on the MSB being first. However, I'm not sure if there is supposed to be an indicator between values that represent an array in memory to show that it's a different element, like <code>'\0'</code> (null char). like <code>{01, 23, 45,'\0', FE, DC}</code></p>
  <p>Likewise for the Little Endian Architecture I believe it would store it as <code>{45,23,01,DC,FE}</code>, but I am not sure whether there should be some indicator to highlight the different elements in the array</p>