int main(){ int i=0,s=0,tmp=0; for(i;i<5;i++) { tmp=tmp*10+i+1; s+=tmp; printf("tmp=%d\n",tmp); } printf("s=%d\n",s); return 0;}