C++ how are variables accessed in memory?
<p>When I create a new variable in a C++ program, eg a char:</p>

<pre><code>char c = 'a';
</code></pre>

<p>how does C++ then have access to this variable in memory? I would imagine that it would need to store the memory location of the variable, but then that would require a pointer variable, and this pointer would again need to be accessed.</p>