fn f(x)

{ if(x<=0)
return;
else f(x-1)+x;
}

Answer Posted / jai

15

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how do you use a pointer to a function?

823


What are operators in c?

766


Why is void main used?

806


What is s or c?

775


How do you define a string?

834






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

2822


Can you apply link and association interchangeably?

874


What is unary operator?

833


What is the best way of making my program efficient?

747


What is the difference between test design and test case design?

1786


What are valid operations on pointers?

911


disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit

1820


What is merge sort in c?

808


What is register variable in c language?

790


Explain what is the purpose of "extern" keyword in a function declaration?

798