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 / hussain reddy
9
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are the types of functions in c?
What does the file stdio.h contain?
How are strings stored in c?
Explain the difference between ++u and u++?
Can two or more operators such as and be combined in a single line of program code?
Which node is more powerful and can handle local information processing or graphics processing?
What are the different types of C instructions?
What is the difference between text files and binary files?
What is pragma c?
How do you do dynamic memory allocation in C applications?
What is the purpose of & in scanf?
Is c is a high level language?
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..
What is a method in c?