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
c program for searching a student details among 10 student details
What is a structure in c language. how to initialise a structure in c?
What should malloc() do?
What is the use of typedef in structure in c?
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
What is the process to generate random numbers in c programming language?
What is 2 d array in c?
How can I do graphics in c?
What is context in c?
What is action and transformation in spark?
Differentiate between declaring a variable and defining a variable?
Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?
What is a function in c?
Can the size of an array be declared at runtime?
If you know then define #pragma?