📅  最后修改于: 2022-03-11 14:44:57.663000             🧑  作者: Mango
int row,col;
cout << "please input how many rows and columns you want accordingly: ";
cin>>row>>col;
//create array in heap.
int **arr=new int*[row];
for(int i=0;i>arr[i][j];
}
}
//display Elements.
for(int i=0;i|