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
Post New Answer View All Answers
praagnovation
Do you know pointer in c?
What are header files in c?
What does int main () mean?
What are the advantages of using Unions?
Can a function argument have default value?
What is a static variable in c?
What is the most efficient way to count the number of bits which are set in an integer?
Who is the main contributor in designing the c language after dennis ritchie?
Differentiate between full, complete & perfect binary trees.
What is struct node in c?
What is a program flowchart and how does it help in writing a program?
What do you mean by invalid pointer arithmetic?
What is the most efficient way to store flag values?
Why should I prototype a function?