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
What is the difference between volatile and const volatile?
which is conditional construct a) if statement b) switch statement c) while/for d) goto
What is c mainly used for?
Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.
Does c have class?
in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.
What is n in c?
What is the scope of an external variable in c?
What is meant by errors and debugging?
What are actual arguments?
Explain the red-black trees?
What does typeof return in c?
Is null always defined as 0(zero)?
Can two or more operators such as and be combined in a single line of program code?
Explain what is dynamic data structure?