1. Engineering
  2. Computer Science
  3. given an array create a recursive function to count the...

Question: given an array create a recursive function to count the...

Question details

Given an array, create a recursive function to count the number of even numbers within the array. Hint: First, find and implement an appropriate base case for the function.

Use the following incomplete function definition:

int evens(int nums[], int size) {
    // . . .
}
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution