Array Question

I want to write a program to print all those elements of a matrix[4][4] that are not diagonal elements.
Please tell me how to write it.
Topic archived. No new replies allowed.