What value does function mystery return when called with a value of 4?

int mystery (int number)
{
if (number <= 1) {
return 1;
}
else {
return number * mystery(number – 1);
}
}
a. 0.
b. 1.
c. 4.
d. 24.

d. 24.

Computer Science & Information Technology

You might also like to view...

Identify the constant.

a. x b. Days in a week c. 5 d. Ralph e. None of the above.

Computer Science & Information Technology

What makes the OpenVAS tool flexible and unique?

What will be an ideal response?

Computer Science & Information Technology