- 1
Int x=0; For (int i=0; i <8; i++) { x=i*i; } what will be the output ; and what will be the value of( i) after the for loop
2 Respuestas
+ 3
there is no output. and i is out of scope after the loop, but it's 8 after the last iteration.
+ 2
x will be 7*7=49
outside the block of "for"
i is undeclared.