title: how much memory is allocated for a variable?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3777857/whether-variable-name-in-any-programming-language-takes-memory-space">Whether variable name in any programming language takes memory space</a>  </p>
  </blockquote>
  
  
  
  <p>I was just reading about memory allocation, and can't help wonder this question:</p>
  
  <p>Do both</p>
  
  <pre><code>int x = 4;
  </code></pre>
  
  <p>and</p>
  
  <pre><code>int this_is_really_really_long_name_for_an_integer_variable = 4;
  </code></pre>
  
  <p>occupy same amount of <strong>memory</strong> (the <strong>total</strong> memory occupied <em>by the variable</em>. not just <code>sizeof(int)</code>)</p>
  
  <p>I understand that this question is related to 'programming languages and compiler construction'. But, I haven't got to study it :(</p>