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 c basic?
What are global variables and how do you declare them?
Wt are the Buses in C Language
"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks
to find the closest pair
What is meant by errors and debugging?
What are external variables in c?
What is string constants?
Explain how can you check to see whether a symbol is defined?
What is typedef struct in c?
How do you write a program which produces its own source code as output?
In which header file is the null macro defined?
What is the use of linkage in c language?
What is ponter?
What is property type c?