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 / manju

d.any where in the program
because the execution of a program begins from the main
function.it doesn't consider the place where the main
function written.

Is This Answer Correct ?    16 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the term printf() and scanf() used in c language?

829


When c language was developed?

833


Give me the code of in-order recursive and non-recursive.

1140


simple program of graphics and their output display

1709


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

2850


What is the importance of c in your views?

815


Once I have used freopen, how can I get the original stdout (or stdin) back?

843


p*=(++q)++*--p when p=q=1 while(q<=6)

1497


write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.

2656


What is huge pointer in c?

769


What is binary tree in c?

849


write a program to generate address labels using structures?

4298


What is #include stdlib h?

864


How do you list files in a directory?

817


Explain high-order and low-order bytes.

876