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
How old is c programming language?
Write a program that accept anumber in words
the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above
Explain what will the preprocessor do for a program?
What is the difference between variable declaration and variable definition in c?
What is a stream in c programming?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
Discuss the function of conditional operator, size of operator and comma operator with examples.
What is union and structure in c?
What is self-referential structure in c programming?
Explain the use of bit fieild.
What is the symbol indicated the c-preprocessor?
Why should I use standard library functions instead of writing my own?
Differentiate between the expression “++a” and “a++”?
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?