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
Subtract Two Number Without Using Subtraction Operator
The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference
What does struct node * mean?
What is integer constants?
What is a newline escape sequence?
What is the purpose of & in scanf?
What happens if header file is included twice?
Which one would you prefer - a macro or a function?
How many main () function we can have in a project?
What is the c value paradox and how is it explained?
Why should I prototype a function?
Difference between goto, long jmp() and setjmp()?
how can I convert a string to a number?
What are predefined functions in c?
What is the most efficient way to store flag values?