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 is the total generic pointer type?
Why is c called a structured programming language?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
What is a structure member in c?
What is the difference between a function and a method in c?
If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above
Can a pointer point to null?
What is scope rule in c?
Explain what are the standard predefined macros?
How can I open files mentioned on the command line, and parse option flags?
what is recursion in C
What is a null string in c?
What are the different types of control structures?
What is the difference between arrays and pointers?
Is boolean a datatype in c?