Quote:
In this instance does this mean that for every repition of variable i, variable j gets executed?
Yes, you are right. Ideally it should happen.
For every i, inner loop should continue till j is 99.
But you have a problem here. The inner loop checks the condition
i<=99
, which is wrong. You should check
j<=99
.
for (j = 0; i <=99; j++)