title: Can someone explain this output? (C++)
body: <p>Hello can someone  please explain the output of the following C++ code espacially the numbers after the output of the first one 4321<strong>1223334444</strong></p>
  <p>Here is the code:</p>
  <pre><code>void rek(int i) { 
  if (i &gt; 0){
     cout &lt;&lt; i; 
     rek(i-1); 
     for (int k=0; k &lt; i; k++) 
        cout &lt;&lt; i; }
  }
  int main(){
   rek(4);
   return 0;
  }
  </code></pre>
  <p>Here is the output:</p>
  <pre><code>the output is: 43211223334444
  </code></pre>