I have a matrix and I need to be able to print out all of its contents. Right now I have it such that const int size = 2;

And then my matrix is matrix[size][size];

It needs to work of course so that if I change the size it will still work properly. I know I need to do it using to for loops and two variable row and column. But I have been thinking about it for a couple hours and I can't come up with anything. Can anybody help?