title: Where does the reference variable gets stored
body: <p>I know that reference does not take any memory it will point to the same memory location which it is referencing.
  for eg</p>
  <pre><code>int i=10;
  int &amp;r = a;
  </code></pre>
  <p>suppose <code>i</code> points to the memory location 1000 so in this case <code>r</code> will also point to the memory location 1000.
  But in C++ whenever we are declaring a variable it will get stored in the memory at some location.
  In this case <code>r</code> is pointing to some location but it should be stored somewhere in memory via some internal representation.
  thanks in advance.</p>