I have this 2d dynamic array and I want to pass it to a function, How would I go about doing that
int ** board;
        board = new int*[boardsize];
        //creates  a multi dimensional dynamic array
        for(int i = 0; i < boardsize; i++)
        {
            board[i] = new int[boardsize];
        }
 
     
     
     
     
    