C program code
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 / guest
b
Is This Answer Correct ? | 15 Yes | 4 No |
Post New Answer View All Answers
What does calloc stand for?
What is the hardest programming language?
The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration
Compare interpreters and compilers.
int far *near * p; means
write a program to generate address labels using structures?
How do I create a directory? How do I remove a directory (and its contents)?
What is the difference between strcpy() and memcpy() function in c programming?
What are reserved words with a programming language?
Is a house a shell structure?
How does placing some code lines between the comment symbol help in debugging the code?
On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area
write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare. You will then tabulate this information in another file.
How macro execution is faster than function ?
if p is a string contained in a string?