2.Print this pattern
0
00
000
0000
This pattern has:
4 rows
Each row has increasing number of 0s (1 in first row, 2 in second row, etc.)
Outer loop (i): Controls the row number (from 1 to 4).
Inner loop (j): Prints i number of 0s in each row.
Row 1: 1 zero
Row 2: 2 zeros
Row 3:3 zeros
Row 4: 4 zeros
printf("\n"); moves to the next line after each row.