The good old beginnerkiller: Pointers
<p>I am currently studying C and reached the point (haha...) where I am learning about pointers. I think I know a bit about them already and I think I get the concept of them. </p>

<p>If I have a pointer named "c" and an integer named "a" with the value of 5 and I do the following:</p>

<pre><code>*c = a;
</code></pre>

<p>I set the value of the pointer c (because I am using the asterik symbol) to the value of a, which is 5. So *c is 5 after that and c is equal to the memory address of a - Correct?</p>

<p>What about the following then:</p>

<pre><code>c = &amp;a;
</code></pre>

<p>I just pass the memory address in which the value of a is stored to the pointer. 
Are both operations equal? From my point of view they do the same - Is that correct?</p>