Hi,
main()
{
}
Is a user defined function or Built in Functionn
Answer Posted / govind
=> The main function serves as the starting point for
program execution.
=> It usually controls program execution by directing the
calls to other functions in the program.
=> A program usually stops executing at the end of main,
although it can terminate at other points in the program
for a variety of reasons.
=> At times, perhaps when a certain error is detected, you
may want to force the termination of a program. To do so,
use the exit function. See the Run-Time Library Reference
for information on and an example using the exit function.
so that
main() is a user defined function. it is the entry point of
any program.
| Is This Answer Correct ? | 10 Yes | 5 No |
Post New Answer View All Answers
What is a const pointer?
What are all different types of pointers in c?
What is time null in c?
Explain is it better to bitshift a value than to multiply by 2?
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
Was 2000 a leap year?
a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list
In C, What is the #line used for?
int i=10; printf("%d %d %d", i, i=20, i);
Differentiate between full, complete & perfect binary trees.
Function calling procedures? and their differences? Why should one go for Call by Reference?
What is a char in c?
What is union in c?
what do you mean by inline function in C?
How do you declare a variable that will hold string values?