Why the value of i is showing at the out of the loop is 5, but in the loop the last value of i is 4? : <pre><code>#include&lt;stdio.h&gt;
int main()
{
    int i,n=5;
    for(i=0;i&lt;n;i++)
    {   
        printf("in of loop the value of i is %d\n",i);  
    }
    printf("out of loop the value of i is %d",i);
}
</code></pre>

<p>I can not understand why the value of i is showing at the out of the loop is 5, but in the loop the last value of i is 4.</p>
