2darray without runtime error

how to allocate 2 d array of size <10^6 as needed in SEATSR

int a[10][6];
int row=10;
int col=6;
cout<<"Enter your 2d array ";
for(int i=0;i<row;i++)
{ for(int j=0;j<col;j++)
{cin>>a[i][j];
}
}

//codes are for c++ but you can use the same way with other codes

{="" for(int="" j=“0;j<col;j++)”
{cin="">>a[i][j]; please sir explain these lines…i was talkin about matrix[1000001][100001].

Short answer:

You don’t.