— So you want us to do your homework, right now and for free? go away 😂
— Its their assignment
— Allocate each array using a for loop? :/
— Ha ya
//int arr[n][m];int **arr = new int*[n];for (int i = 0; i < m; ++i) arr[i] = new int[m];
— Int arr = new int[n]; or int **arr = new int*[n]; ?
— Whoops it took the asterisks as text formatting haha
— Int*[n] means pointer to an array?
— It means array of pointers
— Yeah, that was error;already fixed
— Its not homework
— Its different