A cast would do the trick, e.g.
#include<iostream>
using namespace std;
class Demo
{
public:
void TwoDArrPass1(int * arr ,int col,int row)
{
for ( int c = 0; c<col; ++c)
{
for (int r=0; r<row; ++r)
{
cout << arr[row*c+r] << " ";
}
cout << endl;
}
}
};
int main()
{
Demo dd;
int Arr[3][4] = { {1,2,3,4},
{10,20,30,40},
{100,200,300,400}
};
dd.TwoDArrPass1(reinterpret_cast<int *>(Arr),3,4);
}