Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <cstring>
- #include <cstdio>
- using namespace std;
- int main() {
- int row, col;
- printf_s("Input amount of rows:\n");
- scanf_s("%d",&row);
- printf_s("Input amount of columns:\n");
- scanf_s("%d",&col);
- int** arr = new int*[row];
- for(int i = 0;i<row;i++)
- {
- arr[i]=new int[col];
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement