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
What is const keyword in c?
Is main a keyword in c?
What is the difference between pure virtual function and virtual function?
Explain zero based addressing.
Multiply an Integer Number by 2 Without Using Multiplication Operator
Explain what is output redirection?
What's the best way of making my program efficient?
What is strcmp in c?
Why should I use standard library functions instead of writing my own?
What are the 32 keywords in c?
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
What are the functions to open and close file in c language?
How can I send mail from within a c program?
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
What is linear search?