Programming in C MCQ - Find the Output

Correct AnswerOption C
Rate difficulty Rate difficulty:
Choose a difficulty.
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.
Correct AnswerOption D
Rate difficulty Rate difficulty:
Choose a difficulty.
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.
Why Practice with Avatto?
High Quality MCQsExam-focused questions with accurate answers
Detailed ExplanationsStep-by-step explanations to enhance learning
Latest Exam PatternBased on updated syllabus and pattern
Performance AnalyticsTrack performance and improve weak areas
100% Free PracticePractice unlimited questions for free