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...

Deleting a node that has two children offers an opportunity to use

a. a function that returns a pointer to a pointer b. a function parameter that is a pointer to a pointer c. double indirection d. All of these e. None of these

Computer Science & Information Technology

The Word themes used for an ordinary document can also be used for a Web page document

Indicate whether the statement is true or false

Computer Science & Information Technology

Answer the following statement(s) true (T) or false (F)

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The ________ displays either the presentation in the form of thumbnails or the presentation outline.

a. Notes pane b. Slide pane c. Slides/Outline pane d. Status bar

Computer Science & Information Technology