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
Why is c called "mother" language?
Can include files be nested? How many levels deep can include files be nested?
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code
program for reversing a selected line word by word when multiple lines are given without using strrev
Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80
Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?
What are c header files?
How to compare array with pointer in c?
Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?
What are 'near' and 'far' pointers?
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..
Can we increase size of array in c?
When should we use pointers in a c program?
Can a program have two main functions?
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles