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
Why do we use header files in c?
write a c program in such a way that if we enter the today date the output should be next day's date.
Explain the use of keyword 'register' with respect to variables.
What are near, far and huge pointers?
List the variables are used for writing doubly linked list program.
Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?
For what purpose null pointer used?
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
Write a C program in Fibonacci series.
What is pointer and structure in c?
write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.
Why isnt there a numbered, multi-level break statement to break out
Write a Program to accept different goods with the number, price and date of purchase and display them
Is c pass by value or reference?
Which are low level languages?