answersLogoWhite

0

i think as the compiler bind all the functions and source code starting from main hence all that make the compiler directed to execute it from the very same point

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

Why you use main function in c?

Because if you donot use main function in c program, the compiler willnot execute the program.C compiler starts execution from main function itself.


Does compilation start from main function?

No; the execution does.


Where execution does take start in C language?

It start with function - main()


Why the main function is called userdefine function in c language?

It's called 'main' by tradition; this feature lets the linker to know, where to start the execution.


Where does c language program begin execution?

The execution of the program starts with function main, wherever it is in the source.


Why function start from main?

There should be some starting point know in order to anything so C look for main Because where to start its execution(compilation). by santhosh bairam


Where void main is called in c?

main() is the function from where the execution starts.


Why c program starts from main?

The c program starts with 'main' function because it's compiler is designed that way. so during the compile time, the compiler looks for main function and through that it binds all the other user defined functions.


How does the execution of program take place?

It starts with function 'main'.


Why you have begin with main function?

You don't have, it's only the program-execution which begins with the main function, but it doesn't have to be the first function in the source-file.


C program always begins with which function?

That's up to you, but the execution of the program begins with function main.


What is the main function of C?

The main function is the entry point for the application. Each program written in C or C++ will start at the first line in the main function, and cease execution once the main function returns control to the operating system (either via a return keyword in the main function, an exit(3) function call, or by "running off" the end of the main function). A program will not compile if it is missing the main function. Some variants of C++ have an alternate entry point (including those written for Microsoft Windows).