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
Differentiate between full, complete & perfect binary trees.
What is a sequential access file?
Why is c not oop?
What is advantage of pointer in c?
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
How arrays can be passed to a user defined function
WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.
Give basis knowledge of web designing ...
Differentiate between calloc and malloc.
what is stack , heap ,code segment,and data segment
What oops means?
Is c procedural or functional?
What is atoi and atof in c?
What is a shell structure examples?
What are enums in c?