C program code
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 / guest
9
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the significance of an algorithm to C programming?
What does the characters “r” and “w” mean when writing programs that will make use of files?
What are header files in c programming?
How many types of sorting are there in c?
Can we compile a program without main() function?
Write a program for finding factorial of a number.
Why we use stdio h in c?
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..
What is a header file?
what is the different bitween abap and abap-hr?
What do you mean by dynamic memory allocation in c?
what is uses of .net
How are structure passing and returning implemented?
What is bin sh c?
Explain what is the best way to comment out a section of code that contains comments?