Advertisements
Advertisements
प्रश्न
Given: for (i = 0; i < 4; i++)
for (j = 1; j < 4; j++)
.............................
Statement
.............................
How many times the above nested loop will iterate?
पर्याय
12 times
8 times
4 times
16 times
MCQ
उत्तर
12 times
Explanation:
4 (outer loop iterations) ×3 (inner loop iterations) = 12 total iterations.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?