Count Values
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) {
// . . .
}
- Previous
- Next