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 are the facialities provided by you after the selection of the student.
What are the keywords in c?
What is the difference between functions abs() and fabs()?
What is use of pointer?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
how can I convert a string to a number?
What is modeling?
What is data types?
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
Which is better pointer or array?
What is extern storage class in c?
How do we print only part of a string in c?
List the difference between a "copy constructor" and a "assignment operator"?
What is the full form of getch?
which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above