i have this code

i need to know how to use an array as an argument and not need a specific size, as it is recursiveCode:#include <iostream> using namespace std; int solve_array(int * array[][], int array_x, int array_y) { int solutions = 1; if((array_x == 1) && (array_y==1)) return 1; int array_1[array_x-1][array_y]; int array_2[array_x][array_y-1]; solutions = solve_array(array_1[][],array_x-1,array_y) + solve_array(array_2[][],array_x,array_y-1); return solutions; } int main() { // problem, find number of routes. // solution iterate through each possibility int array[21][21]; cout << "the number of possible paths is: " << solve_array(array[][],21,21); return 0; }