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
Answer Posted / tej
ans is 9
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is bin sh c?
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
What are the application of c?
Explain how do you list files in a directory?
What do you know about the use of bit field?
What is c language in simple words?
Explain argument and its types.
What is c basic?
Stimulate calculator using Switch-case-default statement for two numbers
What is the difference between pure virtual function and virtual function?
What is calloc()?
What is main () in c?
What is advantage of pointer in c?
write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)
What is string constants?