Main must be written as
a.the first function in the program
b.Second function in the program
c.Last function in the program
d.any where in the program
Answer Posted / sudipta panja
(d)--execution starts from main,i.e. compiler starts
compiling from main but the posn of main is not fixed.it can
be anywhere.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is this pointer in c plus plus?
What is the use of extern in c?
What would happen to X in this expression: X += 15; (assuming the value of X is 5)
When should a far pointer be used?
What is the benefit of using #define to declare a constant?
What is the collection of communication lines and routers called?
How a string is stored in c?
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
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?
What is define directive?
Explain how can you tell whether two strings are the same?
List some of the dynamic data structures in C?
Write a code to remove duplicates in a string.
What is #pragma statements?
Explain how do I determine whether a character is numeric, alphabetic, and so on?