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 / mannucse
a
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is maximum size of array in c?
What are variables and it what way is it different from constants?
What is bash c?
What is pointer to pointer in c?
What is sizeof array?
Is there a built-in function in C that can be used for sorting data?
Is null always equal to 0(zero)?
What is volatile keyword in c?
what is a function method?give example?
What language is lisp written in?
Explain what are multibyte characters?
What is an auto keyword in c?
Explain how can you tell whether a program was compiled using c versus c++?
How does struct work in c?
What is the difference between text and binary i/o?