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
[a] 8 [b] 9 [c] 6 [d] 12 [e] 15

Answer Posted / hussain reddy

9

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a structural principle?

634


What is binary tree in c?

617


What is the significance of an algorithm to C programming?

592


‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .

2366


Explain c preprocessor?

678






What are the keywords in c?

638


What is a function in c?

567


Explain what standard functions are available to manipulate strings?

608


In a switch statement, explain what will happen if a break statement is omitted?

631


Which is better oop or procedural?

624


How arrays can be passed to a user defined function

570


What is malloc return c?

596


explain what are actual arguments?

630


write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.

2449


What does sizeof return c?

596