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 will be the outcome of the following conditional statement if the value of variable s is 10?
Can true be a variable name in c?
Why we use int main and void main?
Write a progarm to find the length of string using switch case?
What is the difference between volatile and const volatile?
What is the scope of static variable in c?
What are inbuilt functions in c?
how to create duplicate link list using C???
Where are local variables stored in c?
Why can’t constant values be used to define an array’s initial size?
Can we declare variable anywhere in c?
Explain the use of fflush() function?
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
Where static variables are stored in c?
Explain what does it mean when a pointer is used in an if statement?