What is the value returned by the function f given below when n=100?
int f (int n)
{ if (n==0) then return n;
else
return n + f(n-2);
}

Posted on by