#include #include using namespace std; int main(int argc, char *argv[]) { int **array2d, rows, columns; cout << "Enter number of rows: "; cin >> rows; cout << "Enter number of columns: "; cin >> columns; array2d = new (nothrow) int*[rows]; if(array2d == NULL) { cerr < "Memory allocation error!\n"; return -1; } for(int i=0; i