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 / ravinderreddy
ans: b
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is this program statement valid? INT = 10.50;
will u please send me the placement papers to my mail???????????????????
What language is windows 1.0 written?
What is variable in c example?
What is array of structure in c?
How can I use a preprocessorif expression to ?
What is meant by recursion?
Write a program to know whether the input number is an armstrong number.
What does %2f mean in c?
Are pointers integer?
What are the advantages of using Unions?
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
Is void a keyword in c?
When do we get logical errors?
Whats s or c mean?