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
Post New Answer View All Answers
What is struct node in c?
What oops means?
What is use of integral promotions in c?
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.
How can I manipulate individual bits?
ATM machine and railway reservation class/object diagram
Are bit fields portable?
What are the advantages of using new operator as compared to the function malloc ()?
Write a program to swap two numbers without using third variable in c?
Are comments included during the compilation stage and placed in the EXE file as well?
How do you determine the length of a string value that was stored in a variable?
What's a good way to check for "close enough" floating-point equality?
What is size of union in c?
Why void is used in c?
Explain high-order bytes.