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 / arunthathi
sindhu is correct
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
I heard that you have to include stdio.h before calling printf. Why?
What is LINKED LIST? How can you access the last element in a linked list?
What is the difference between printf and scanf in c?
What is typedef example?
Why is c called "mother" language?
Does c have class?
Explain how can you tell whether two strings are the same?
Differentiate Source Codes from Object Codes
What does 3 mean in texting?
Why c is called object oriented language?
Write a program to swap two numbers without using third variable in c?
What is function prototype?
Explain how does free() know explain how much memory to release?
What is scope and lifetime of a variable in c?
What is the ANSI C Standard?