2. Write a C program that generates following outputs. Each of the
outputs are nothing but 2-dimensional arrays, where ‘*’ represents
any random number. For all the problems below, you must use for
loops to initialize, insert and print the array elements as and where
needed. Hard-coded initialization/printing of arrays will receive a 0
grade. (5 + 5 + 5 = 15 Points)
i)
* 0 0 0
* * 0 0
* * * 0
* * * *
ii)
* * * *
0 * * *
0 0 * *
0 0 0 *
iii)
* 0 0 0
0 * 0 0
0 0 * 0
0 0 0 *
