What does function five do?
```
int five
(char inArr[])
{
int ans;
if (inArr[0] == '\0')
ans = 0;
else if (isdigit (inArr[0]))
ans = 1 + five (++str);
else
ans = five (++str);
return ans;
}
```
a. Counts the number of digits in inArr.
b. Returns 1 if the first character is a digit, 5 otherwise.
c. Counts the number of null characters in inArr.
d. Counts the number of characters in inArr.
e. None of the above
a. Counts the number of digits in inArr.
Computer Science & Information Technology
You might also like to view...
A state, condition, or occurrence that Access recognizes is a(n) ____.
A. event B. statement C. object D. property
Computer Science & Information Technology
The Exception class and the Error class are subclasses of the ___________________ class.
a) Throwable b) Catchable c) RuntimeProblem d) CompilerProblem e) none of the above
Computer Science & Information Technology