What is returned by function two defined below for the call two( 13 ) ?

```
int two ( int n )
{
int ans;
if ( n == 1 )
ans = 0;
else
ans = 1 + two (n / 2);
return ans;
}
```

a. 3
b. 7
c. 0
d. none of the above

a. 3

Computer Science & Information Technology

You might also like to view...

Which of the following is not an aspect of an Internet marketing campaign?

(a) advertising. (b) Customer Relationship Management. (c) Web design. (d) public relations.

Computer Science & Information Technology

If you want to create graphic shapes that combine to form one shape, draw them using the ____ mode.

A. Merge Drawing B. Object Drawing C. Unary Shape D. Combination Shape

Computer Science & Information Technology