For ( i = 0, j = 0; i < 10; i++ ) j += 1
Suppose that I and j are both type int. What is the value of j after the following statement is executed
Answers
Answered by
0
The value of J will be 55 because in this loop J value keep on increasing till the condition of loop get false and loop will break. The loop only gets break when the value of I will be 10.
Similar questions