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 / sindhu
shobha is correct.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is table lookup in c?
What is variable in c example?
What are the different properties of variable number of arguments?
Explain threaded binary trees?
Is swift based on c?
What does c mean in standard form?
What is the use of c language in real life?
What do you mean by c what are the main characteristics of c language?
What does *p++ do?
State two uses of pointers in C?
Without Computer networks, Computers will be half the use. Comment.
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
What is type qualifiers?
What is meant by recursion?
List some basic data types in c?