What would be the output of the nested for loop given below?
for (( i=1; i<=5; i++))
do
for (( j=1; j<=5; j++))
do
echo -n “$i”
done
echo ####
done
A.
1 1 1 1 12 2 2 2 23 3 3 3 34 4 4 4 45 5 5 5 5
B.
1 2 3 4 51 2 3 4 51 2 3 4 51 2 3 4 51 2 3 4 5
C.
5 4 3 2 15 4 3 2 15 4 3 2 15 4 3 2 15 4 3 2 1
D.
5 5 5 5 54 4 4 4 43 3 3 3 32 2 2 2 21 1 1 1 1
Explanation: