In article <f1d4c85a-18ae-4f9a-b07d->,
chang <> wrote:
> I am working in C from past few months. Still now i can't
>figure out who is called main() in 'C' programme?
>Main() is a function 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 ?
The details of how main() is called are system dependant.
For a description of how one particular Unix system does it,
and keeping in mind that the details might differ on other unix
systems, see the reference to crt0.o in
http://docs.hp.com/en/B2355-90968/compileandlink.htm
--
"I like to build things, I like to do things. I am having
a lot of fun." -- Walter Chrysler