i begin Why the output produce 002? Thanks for the edit and the answers but I'm still confused. Here is the code:
#include <stdio.h>
int t[3],i;
int main()
{
for(i=0;i<3;i++)
t[i]=i++;
for(i=0;i<3;i++)
printf("%d",t[i]);
}
002 Can anyone help me understand why it is so?