☑Kizspy.me
(Choose 1 answer)
☐ A
Consider the following function:
int fun(int a, int n)
}
{if(n == 0) return(1);
int t =fun(a,n/2);
if(n%2==0)
return(t*t);
else
return(t*t*a);
What is the value of fun(3,2)?
A. 6
B. 5
Back
Next
C. 9
D. 8
FUO.sh
sh the exam.