Question: I ' m writing a new c + + call function, this c + + call function requires that you must use Recursion, please help

I'm writing a new c++ call function, this c++ call function requires that you must use Recursion, please help me with this call function, thank you very much```
// TODO: Implement countCharFromMapUsingRecursion
// This function explores (i.e., updates) the current map
// Note: You MUST USE recursion to implement this function
//0 marks will be given if you use loops to implement this function
//
// @param realMap: The 2D array storing the real map information
// @param currentMap: The 2D array storing the current map (i.e., the exploring map) information
// @param numRows: The number of rows for the maps (both maps have the same size)
// @param numCols: The number of columns for the maps (both maps have the same size)
// @param row: The row index to explore
// @param col: The col index to explore
void exploreMapUsingRecursion(const char realMap[MAX_ROWS][MAX_COLS], char currentMap[MAX_ROWS][MAX_COLS],
int numRows, int numCols, int row, int col)
{
}
```
I ' m writing a new c + + call function, this c +

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!