--- In [email protected], "kapil_ghai2003" <[EMAIL PROTECTED]> wrote: > > --- In [email protected], John Gaughan <john@> wrote: > > > > Akash Makhija wrote: > > > *why in C every program start from main()? > > > main is a entry point that we all agree but where it defined..* > > > > > > > It is defined in ISO/IEC 9899:1999. > > > > The main() function is what we call an axiom -- because sometimes you > > can't prove it, you just need to assume it and move on. > > > > -- > > John Gaughan > > > > main() function is main entry point in c compiler when program is > compiling the compiler first read the main() function > > http://compuuttblog.blogspot.com >
one could have a different function other than main as the startup. Just have to have your own crt ( c run time ).
