John Gaughan 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.

main() is historical.  Unfortunately, my searches are turning up 
absolutely nothing about the thought process behind the choice of using 
'main' over some other word.  It would be an interesting discourse, 
albeit a moot point (since no one is going to change it), to hear "Why 
did you call it 'main()'?" from the original authors to see if there was 
some specific logic behind the name or was just the first thing that 
came to mind.

-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

*NEW* MyTaskFocus 1.1
Get on task.  Stay on task.

http://www.CubicleSoft.com/MyTaskFocus/

Reply via email to