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

What are the data types present in c?

850


What is function what are the types of function?

746


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)

2091


Are the variables argc and argv are local to main?

1006


What is #pragma statements?

842


What is scanf_s in c?

850


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.

1953


What is #define used for in c?

813


In C programming, how do you insert quote characters (‘ and “) into the output screen?

1235


What does sizeof int return?

828


What does volatile do?

754


What is scope and lifetime of a variable in c?

779


Are pointers really faster than arrays?

752


Why shouldn’t I start variable names with underscores?

843


How do I get an accurate error status return from system on ms-dos?

872