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 are the data types present in c?
What is function what are the types of function?
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
Are the variables argc and argv are local to main?
What is #pragma statements?
What is scanf_s in c?
I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.
What is #define used for in c?
In C programming, how do you insert quote characters (‘ and “) into the output screen?
What does sizeof int return?
What does volatile do?
What is scope and lifetime of a variable in c?
Are pointers really faster than arrays?
Why shouldn’t I start variable names with underscores?
How do I get an accurate error status return from system on ms-dos?