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 variable and explain rules to declare variable in c?
Differentiate between a structure and a union.
Why n++ execute faster than n+1 ?
How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?
How do you do dynamic memory allocation in C applications?
Do pointers need to be initialized?
How can this be legal c?
Why does everyone say not to use gets?
What is the modulus operator?
Tell us bitwise shift operators?
What are different types of variables in c?
Is c# a good language?
What is volatile variable how do you declare it?
What is the difference between formatted&unformatted i/o functions?
What is extern variable in c with example?