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 a const pointer?
What is wrong in this statement?
Write a program to print "hello world" without using a semicolon?
Why we not create function inside function.
How do you generate random numbers in C?
Why do we use static in c?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
Write a program on swapping (100, 50)
Which header file is essential for using strcmp function?
The statement, int(*x[]) () what does in indicate?
What is a char c?
Describe newline escape sequence with a sample program?
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
What are keywords in c with examples?
Is swift based on c?