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
a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if
What does %d do in c?
How can I discover how many arguments a function was actually called with?
What is the general form of #line preprocessor?
What is the difference between scanf and fscanf?
Can you apply link and association interchangeably?
What are the different types of objects used in c?
What are the different types of constants?
What are the advantages and disadvantages of pointers?
Explain what is the concatenation operator?
Why doesnt the call scanf work?
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
What is the use of static variable in c?
What is the difference between if else and switchstatement
Write a program for finding factorial of a number.