main is a predefined or user define function
if user defined why?
if predefined whay?

Answer Posted / chaitanya

Main() is a predeclared userdefined function,bcoz according to formal case the declaration of main is done already with a definite name which the user cannot chnge..but in later case the body or the definition of which is given by the user accordng to his need..i.e.:main is a pre declared user defined function.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between array and structure in c?

573


What is the difference between single charater constant and string constant?

616


Explain how do you use a pointer to a function?

636


Is sizeof a keyword in c?

574


How does sizeof know array size?

620






Is it acceptable to declare/define a variable in a c header?

678


Why is c used in embedded systems?

606


How can you pass an array to a function by value?

597


What is a static variable in c?

663


Explain can static variables be declared in a header file?

674


What is a buffer in c?

568


What does the && operator do in a program code?

694


code for quick sort?

1618


why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above

648


Is there any demerits of using pointer?

622