How to write the following code using new operator?
Please explain in detail.
Thanks in advance.

```
#include<alloc>
#define MAXROW 3
#define MAXCOL 5
using namespace std;

int main()
{
    int (*p)[MAXCOL];
    p = (int(*)[MAXCOL])malloc(MAXROW*sizeof(*p));
} 

```