Question: What is the output of the following function call? //function body int factorial(int n) { } int product=0; while(n > 0) { product =
What is the output of the following function call? //function body int factorial(int n) { } int product=0; while(n > 0) { product = product* n; 11- -. } return product. //function call cout < factorial (4);
Step by Step Solution
There are 3 Steps involved in it
The image displays a C function named factorial intended to calculate the factorial of a given integ... View full answer
Get step-by-step solutions from verified subject matter experts
