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
Do pointers store the address of value or the actual value of a variable?
How many types of arrays are there in c?
What is the use of getchar functions?
Can we replace the struct function in tree syntax with a union?
Is that possible to add pointers to each other?
What is main () in c language?
Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?
What is indirection? How many levels of pointers can you have?
Explain what is the advantage of a random access file?
Explain how can type-insensitive macros be created?
What is malloc return c?
Why is c called a mid-level programming language?
Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop
When should structures be passed by values or by references?
How many types of operator or there in c?