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


Please Help Members By Posting Answers For Below Questions

What are the types of functions in c?

572


What does the file stdio.h contain?

608


How are strings stored in c?

595


Explain the difference between ++u and u++?

640


Can two or more operators such as and be combined in a single line of program code?

811






Which node is more powerful and can handle local information processing or graphics processing?

829


What are the different types of C instructions?

678


What is the difference between text files and binary files?

676


What is pragma c?

613


How do you do dynamic memory allocation in C applications?

630


What is the purpose of & in scanf?

598


Is c is a high level language?

621


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.

2652


hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..

1467


What is a method in c?

628