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
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
Can i use “int” data type to store the value 32768? Why?
What are the 4 types of functions?
What is the most efficient way to store flag values?
What is the use of #define preprocessor in c?
What are control structures? What are the different types?
What is oops c?
What is the value of c?
Tell me about low level programming languages.
Why is c called "mother" language?
Explain how can I manipulate strings of multibyte characters?
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.
Is there anything like an ifdef for typedefs?
Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?
How many types of arrays are there in c?