How main() is getting called in C programm
I am having some doubts-
who called main() in a 'C' programme?
Main() is a function (Considered as Entry point to program) from that we can call our sunroutines but someone has to call this Main() and it will return to whom and in runtime this Main() is stored/runnng exactly where in the memroy ?
I will appreciate if someone help me to figure it out .
Re: How main() is getting called in C programm
Main is the entry point is what book says but actually before main is called there are lots of functions / variables that needs to be called / initialize like Global variables / static functions and all are done by CRTStartup function
|All times are GMT +5.5. The time now is 12:06.|