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
Is c pass by value or reference?
Sir i need notes for structure,functions,pointers in c language can you help me please
Explain is it valid to address one element beyond the end of an array?
What are pragmas and what are they good for?
What is static identifier?
Why double pointer is used in c?
What is a c token and types of c tokens?
What is s in c?
What is a spanning Tree?
If null and 0 are equivalent as null pointer constants, which should I use?
What is the difference between array and pointer in c?
Why is extern used in c?
write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?
Is c call by value?
All technical questions