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 / arunthathi
sindhu is correct
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the purpose of macro in C language?
What are qualifiers?
Why is c so popular?
What is difference between constant pointer and constant variable?
What are the benefits of organizational structure?
Why clrscr is used after variable declaration?
Explain how can a program be made to print the line number where an error occurs?
What is operator promotion?
Explain about the constants which help in debugging?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.
Explain the binary height balanced tree?
Which header file is essential for using strcmp function?
What is pointer in c?
Explain how do you determine whether to use a stream function or a low-level function?
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................