long fun(int num)
{
int i;
long f=1;
for(i=1; i=num; i++)
f = f * i;
return f;
}
Which of the following is correct about the function?

Posted on by