Multiple Choice
What is the output of the following function call?
//function body
Int factorialint n)
{
Int product=0;
Whilen > 0)
{
Product = product * n;
N-;
}
Return product;
}
//function call
Cout << factorial4) ;
A) 4
B) 0
C) 24
D) 48
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q41: When a variable is local to a
Q42: The expression static_cast<double>3) is called a<br>A) type
Q43: the fabsdouble num) function<br>A) returns the most
Q44: When you want to use a function
Q45: If you need to write a function
Q47: Multiple arguments to a function are separated
Q48: What is the output of the following
Q49: The _ describes how the function will
Q50: Constant variables that might be used in
Q51: pow2,3) is the same as pow3,2).