Hi,
main()
{
}
Is a user defined function or Built in Functionn
Answer Posted / ekta
1: Main is not a user defined function because user defined
functions can be given be given their own names .We can not
give a new name to main.
2:Main is not an inbuilt function because every inbuilt
function is defined in a specific library .But main has not
been defined in any library.it even works without libraries.
So finally main is just a convention to start a program.
Every language like java,c++,c all start their execution
from main.All programs need a starting point.
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
What is the ANSI C Standard?
Can we use visual studio for c?
Can a void pointer point to a function?
Why do we need a structure?
What is scanf () in c?
Explain how do you override a defined macro?
How do you view the path?
What are c preprocessors?
How can you determine the maximum value that a numeric variable can hold?
What is function pointer c?
How do you list a file’s date and time?
What is define c?
What is the best way to comment out a section of code that contains comments?
Why do we use pointer to pointer in c?
What is the use of function in c?