in c main function initailly called by operating system.
The main function defines the entry point of an application in C.
if you do not used main function in c program when errors are accrued
A main function must be present in every C program.
No. C function argument are positional.
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).
Because if you donot use main function in c program, the compiler willnot execute the program.C compiler starts execution from main function itself.
Yes
Not possible. Of course you can call a function which does the addition for you, but function-calling is also an operator in C.
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 );}
yes
Every C plus plus program that is a main program must have the function 'main'.
main() is the function from where the execution starts.