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 / ravinderreddy
ans: b
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between call by value and call by reference in c?
If the size of int data type is two bytes, what is the range of signed int data type?
What are the __date__ and __time__ preprocessor commands?
Why & is used in c?
Disadvantages of C language.
How is actual parameter different from the formal parameter?
Which programming language is best for getting job 2020?
You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler
What is clrscr in c?
Can a variable be both constant and volatile?
Explain how do you determine a file’s attributes?
What is indirection?
What do mean by network ?
Tell me about low level programming languages.