Ubuntu Forums Archive Viewer

invoking main(int argc,char *argv[]) function.....

Archived thread 1111054 from Ubuntu Dev Link Forum. Markdown source: Ubuntu_Dev_Link_Forum/thread_1111054_invoking_main(int_argc,char_argv[])_function......md

Original URL About this archive
#1

in linux os,how exactly os knows when c++ object file is kept on main memory? is that os triggers a function called "c startup()" routine, then this cstartup() invokes main(int argc,char *argv[]).Then where this main function returns? i just got to know about it but confused, how actually it happens?

#2

sorry i posted in wrong area:) i shifted to programming talk, delete this thread:)