Thank u Mr.Peter,
I was just wondering if there is any other way to run a prog. without using 
main().
thanks again for the reply..............


----- Original Message ----
From: peternilsson42 <[EMAIL PROTECTED]>
To: [email protected]
Sent: Monday, February 12, 2007 7:11:24 AM
Subject: [c-prog] Re: cn we run a c program without main( )?

"Paul Herring" <pauljherring@ ...> wrote:
> debraj choudhury <debrajdc1981@ ...> wrote:
> > can u explain in more detail manner, how a c program can be
> > executed without using main() function and which compilers
> > allow us to do so.......
> 
> Why would you want to do this?

Because there are freestanding implementations when the first
called function is not called main. Probably the biggest example
is the one where all programs begin with WinMain.

-- 
Peter




Send instant messages to your online friends http://uk.messenger.yahoo.com 

Reply via email to