+ 1

What's going inside this loop...?

int j =0; for (int i=0;i<100;i++) { j= j++; } print(j);

7th Nov 2018, 11:41 AM
Sharief
Sharief - avatar
2 Réponses
+ 6
Depends on what language you are using: https://www.sololearn.com/Discuss/1271878/?ref=app
7th Nov 2018, 12:10 PM
Hatsy Rei
Hatsy Rei - avatar
+ 3
Looks like homework. OP, you know _effort_ is required on most forums when asking a question (attempt to understand, research, etcetera). BTW, DuckDuckGo/Google... site:www.sololearn.com "for" "loop" "++" ...and it would probably answer your question with ~15% effort.
7th Nov 2018, 8:13 PM
non