:: - Discussion
Home > > > MCQs Questions Discussion
45 / 200
Predict the output or error(s) for the following:
int zap (int n)
{
if (n<=1) then
zap=1;
else
zap=zap(n-3)+zap(n-1);
}
then the call zap(6) gives the values of zap
A8
B9
C6
D12
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!