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
Which is better oop or procedural?
How do I copy files?
Is register a keyword in c?
Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"
What is the difference between far and near in c?
write a program to print largest number of each row of a 2D array
What is fflush() function?
How does #define work?
How does selection sort work in c?
Explain what is wrong with this program statement?
Can a pointer be null?
What are the properties of union in c?
What is the size of a union variable?
write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?
How can I read and write comma-delimited text?