+ 1
#1. Q.1 whats the output...
int i; for(i=0;i<10;i+1) cout<<i; Answer after 2 days...
2 Réponses
+ 7
if your increment value as i+1 then it's going to produce error or infinite loop..
otherwise if you consider i=i+1 or i++ then print is >> 0123456789
0
so output is:
infinite loop of zeros
0000000....