Programming in C MCQ - Find the Output
The inner loops print 1, 2, and 4 stars for i=1,3,7. The last inner loop ends with j=8.
The six inner iterations leave k at 2, 4, 7, 8, 11, and 12. The continue branch skips the extra addition when the incremented k is even.
Tracing the do-while for each outer value and applying continue before the break check gives a final sum of 30. Continue still evaluates the do-while condition.

