+ 1
What is the output of this code? int result = 0; for (int i = 0; i < 5; i++) { if (i == 3) { result += 10; } else {
help me
3 Réponses
+ 1
there won't be any output displayed, since you have not used any print statement..
but result will store value of 10
0
help me
0
hi, the result will be 10 when i=3