โช Choose the correct option.
What is the following test function computing?
int test (n)
int n;
{
int i;
long int prod = 1;
if(n > 1)
for (i = 2; i < = n; i++)
prod *= i
return (prod);
}
int test (n)
int n;
{
int i;
long int prod = 1;
if(n > 1)
for (i = 2; i < = n; i++)
prod *= i
return (prod);
}