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 / hussain reddy
9
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is a structural principle?
What is binary tree in c?
What is the significance of an algorithm to C programming?
‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .
Explain c preprocessor?
What are the keywords in c?
What is a function in c?
Explain what standard functions are available to manipulate strings?
In a switch statement, explain what will happen if a break statement is omitted?
Which is better oop or procedural?
How arrays can be passed to a user defined function
What is malloc return c?
explain what are actual arguments?
write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.
What does sizeof return c?