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
code for replace tabs with equivalent number of blanks
What is a rvalue?
write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.
Is c is a procedural language?
What is const and volatile in c?
What are the 4 data types?
What is null in c?
What is spaghetti programming?
What is the best way to store flag values in a program?
how to find binary of number?
How reliable are floating-point comparisons?
What do you mean by keywords in c?
Explain what is the stack?
What is the method to save data in stack data structure type?
how to print the character with maximum occurence and print that number of occurence too in a string given ?