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
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above
Why is void main used?
What are the types of i/o functions?
Where local variables are stored in c?
What is build process in c?
What is the difference between abs() and fabs() functions?
What is scanf_s in c?
what is bit rate & baud rate? plz give wave forms
How can I implement a delay, or time a users response, with sub-second resolution?
List out few of the applications that make use of Multilinked Structures?
a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above
Can you please explain the difference between strcpy() and memcpy() function?
What are header files in c programming?
What is the use of in c?