main is a predefined or user define function
if user defined why?
if predefined whay?

Answer Posted / vignesh1988i

actually main function is a user defined function for the C
compiler developer.... but it is a built in or predefined
function according to the users using that compiler.... why
it is called as a predefined function because , the
prototype has already been defined in the compiler itself
we the users can't change the meaning of that unless or
until we write our own compiler , we can change the meaning
of main()......

for the main() , we don't know what is the prototype or
where the function has been called and wht excatly the
return value of it... it is built in and abstracted from the
user which is called abstraction in c++.........


thank u

Is This Answer Correct ?    64 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record

4737


Can i use “int” data type to store the value 32768? Why?

754


What are the 4 types of functions?

566


What is the most efficient way to store flag values?

683


What is the use of #define preprocessor in c?

613






What are control structures? What are the different types?

592


What is oops c?

602


What is the value of c?

566


Tell me about low level programming languages.

640


Why is c called "mother" language?

855


Explain how can I manipulate strings of multibyte characters?

778


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.

2644


Is there anything like an ifdef for typedefs?

696


Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?

597


How many types of arrays are there in c?

591