[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

C Programming :: Functions - Discussion

Home > C Programming > Functions > MCQs Questions Discussion

72 / 53

The call zap(6) gives the result as?

int zap(int n)
{
    if(n<=1)
        return 1;
    else 
        return zap(n-3) + zap(n-1);
}

A8

B9

C6

D12

Answer: Option (Login/Signup)

Show Explanation

Asked In :: Wipro

Post Your Answer Here:     

No Discussion on this question yet!