Solved

What Is the Output of the Following Function Call

Question 46

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions