int DoSomething ( int n)
{ if (n <= 2)
return 1;
else return (DoSomething ( floor ( sqrt (n))) + n);
} |
Answer:(D)
Explanation: See Question 5 of https://www.geeksforgeeks.org/data-structures-and-algorithms-set-11/amp/
Quiz of this Question