मराठी

Given: for (i = 0; i < 4; i++) for (j = 1; j < 4; j++) ............................. Statement ............................. How many times the above nested loop will iterate? - Computer Applications

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
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 1.1: Nested Loop - EXERCISES [पृष्ठ १४५]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
पाठ 1.1 Nested Loop
EXERCISES | Q I. 4. | पृष्ठ १४५
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×