Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 is const keyword in c?

1166


Is main a keyword in c?

1138


What is the difference between pure virtual function and virtual function?

1126


Explain zero based addressing.

1034


Multiply an Integer Number by 2 Without Using Multiplication Operator

768


Explain what is output redirection?

1195


What's the best way of making my program efficient?

1110


What is strcmp in c?

1125


Why should I use standard library functions instead of writing my own?

1274


What are the 32 keywords in c?

1094


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

1098


What are the functions to open and close file in c language?

1205


How can I send mail from within a c program?

1034


Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)

1286


What is linear search?

1138