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 / sindhu
shobha is correct.
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Explain b+ tree?
Is stack a keyword in c?
Explain Basic concepts of C language?
Why c language is called c?
Why is c called "mother" language?
why programs in c are running with out #include
How can I handle floating-point exceptions gracefully?
Is c pass by value or reference?
Describe explain how arrays can be passed to a user defined function
Which is an example of a structural homology?
what is the format specifier for printing a pointer value?
What is the difference between far and near in c?
which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
What is operator precedence?