How do 'C' statements execute inside memory
<p>Suppose I have this piece of <em>C</em> code here:</p>

<pre><code>int main() {           
    int a = 10;
    printf("test1");
    printf("test2");
    someFunc();
    a = 20;
    printf("%d",a);
} 
</code></pre>

<p>Well I think that all these statements are stored on the stack at a time and then popped one by one to get executed. Am I correct? If not, please correct me.</p>