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

Answer Posted / shankar dayal

main() function is niether predefined nor user defined function. Because if it is predefined, when program is written in main() function then given their own logic then how it is predefined. Another one if it is user defined, then we can write the any function name on the place of main(). So main() is niether a predefined nor user defined function.

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between declaring a variable and defining a variable?

726


A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference

637


Synonymous with pointer array a) character array b) ragged array c) multiple array d) none

621


What does c mean?

591


What are the types of macro formats?

613






Is it cc or c in a letter?

570


What is difference between function overloading and operator overloading?

664


If I have a char * variable pointing to the name of a function ..

657


What is the right type to use for boolean values in c?

589


Explain what is the benefit of using an enum rather than a #define constant?

728


What are Macros? What are its advantages and disadvantages?

651


When do we get logical errors?

641


What is the difference between %d and %i?

598


What is array in C

713


What are qualifiers in c?

574