title: Using char array inside union
body: <p>I'm able to print the address and values of ints but not the chars of the union.Why is that so</p>
  
  <pre><code>#include &lt;iostream&gt;
  
  using namespace std;
  
  union Endian
  {
      int i;
      char c[sizeof(int)];
      int j;
  };
  
  int main(int argc, char *argv[]) {
      Endian e;
      e.i = 20;
      cout &lt;&lt; &amp;e.j;
      cout &lt;&lt; &amp;e.i;
      cout &lt;&lt; &amp;e.c[0]; //Why can't I print this address
      cout &lt;&lt; e.c[1]; // Why can't I print this value
  
  }
  </code></pre>
  
  <p>O/P:0x7fff5451ab68 0x7fff5451ab68</p>