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


Please Help Members By Posting Answers For Below Questions

Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?

2116


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

602


Why is void main used?

613


What are the types of i/o functions?

677


Where local variables are stored in c?

554






What is build process in c?

643


What is the difference between abs() and fabs() functions?

601


What is scanf_s in c?

629


what is bit rate & baud rate? plz give wave forms

1512


How can I implement a delay, or time a users response, with sub-second resolution?

617


List out few of the applications that make use of Multilinked Structures?

1288


a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above

680


Can you please explain the difference between strcpy() and memcpy() function?

596


What are header files in c programming?

651


What is the use of in c?

575