Multiple choice technology programming languages

Code: #include #include #include main() { int i=0, j=0; clrscr(); for (i=0; i<=5;i++) { for (j=0; j

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The outer loop runs i from 0 to 5 (inclusive). The inner loop runs j from 0 to i (exclusive), printing '1\t' each time. For i=0: prints nothing. For i=1: prints one '1'. For i=2: prints two '1's. For i=3: prints three '1's. For i=4: prints four '1's. For i=5: prints five '1's. The output matches the stated pattern of increasing 1s from 1 to 5 per row.