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
Explain pointers in c programming?
What are the usage of pointer in c?
What is the difference between the local variable and global variable in c?
Explain the use of 'auto' keyword
How can you determine the maximum value that a numeric variable can hold?
What is c method?
What are the primitive data types in c?
How can I determine whether a machines byte order is big-endian or little-endian?
What is a example of a variable?
What does 3 mean in texting?
What are types of structure?
Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.
What does the && operator do in a program code?
why return type of main is not necessary in linux
in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.