answersLogoWhite

0

Who is calling main function in c?

User Avatar

Anonymous

12y ago
Updated: 8/20/2019

in c main function initailly called by operating system.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Main function in c?

The main function defines the entry point of an application in C.


What is main function used in c?

if you do not used main function in c program when errors are accrued


What must every c program have?

A main function must be present in every C program.


When calling a function that has multiple parameters can you list the arguments in any order?

No. C function argument are positional.


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).


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.


Can you use main function as a recursive function in C?

Yes


How do you add two numbers with out using operator in c language?

Not possible. Of course you can call a function which does the addition for you, but function-calling is also an operator in C.


What function must be in all c plus plus programs?

Every C++ program must have a main() function that returns an integer:int main(){// user-code goes here....// Main must return an integer to the calling program.// A non-zero value usually indicates an error occurred but// the exact meaning of the return value is user-defined.return( 0 );}


Is main a predefined function in c?

yes


What is the only function all C plus plus programs must contain?

Every C plus plus program that is a main program must have the function 'main'.


Where void main is called in c?

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