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 / ravinderreddy
ans: b
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is event driven software and what is procedural driven software?
When do we get logical errors?
What is dynamic variable in c?
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
What are the 5 elements of structure?
i got 75% in all semester am i eligible for your company
Explain how can I pad a string to a known length?
write a program to display all prime numbers
Is it possible to execute code even after the program exits the main() function?
Describe the order of precedence with regards to operators in C.
How are structure passing and returning implemented?
What is double pointer in c?
What is structure pointer in c?
Ow can I insert or delete a line (or record) in the middle of a file?
What is a volatile keyword in c?