here I have a problem. I want to manipulate the following Matrix

Matrix A =
1---------2----------3

4---------5----------6

7---------8----------9

into

7---------8----------9

4---------5----------6

1---------2----------3

```
#include<iostream>
using namespace std;

void f(int ArrayName, int Size);
int main()
{

    int x[3][3]={{1,2,3}, {4, 5,6},{7,8,9}};

    f(x, 3);

    system("pause");

}

void f(int ArrayName, int Size)
{
     int holder;
     for(int i=0; i<Size; i++){
             for(int j=0; j<Size; j++)
             {
                     holder=ArrayName[i][j];
                     ArrayName[i][j]=ArrayName[i+2][j+2];
                     ArrayName[i+2][j+2]=holder;
             }
             }

     for(int k=0; k<Size; k++)
             for(int l=0; l<Size; l++)
             {
                  cout<<ArrayName[k][l];  
                  if(l=3) cout<<"\n";
             }

}

Errors:
 E:\Semester 2\CPrograms\Array2.cpp In function `int main()':
10 E:\Semester 2\CPrograms\Array2.cpp invalid conversion from `int (*)[3][3]' to `int'
10 E:\Semester 2\CPrograms\Array2.cpp   initializing argument 1 of `void f(int, int)'
 E:\Semester 2\CPrograms\Array2.cpp In function `void f(int, int)':
22 E:\Semester 2\CPrograms\Array2.cpp invalid types `int[int]' for array subscript
(Last error repeated for five times)

```