Hi
how to print the diagonal elements of a two dimensional array using for loop
Can any one help me...Plzzzzzzzz..
Thanks in advance
Bala...
develop one for loop for row traversing in the array and
inside this nest another for loop for column traversing within
the row.
In side the inner for loop just check whether row value and
column value are equal; if yes then print the array element
with row and column subscripts.
Do you feel you got the solution or still struggling ?
Regards,
Girish.