Declaration is not needed if method is defined before calling.main() method is called by the OS when the program is run.So, it has only a definition..
main() function is a library function and it does not need any declaration..declaration is needed when function is an in-built...
Please Note: We keep on updating better answers to this site. Subscribe to our newsletter to get notified when better answer is posted.
Copyright ©2003-2010 CoolInterview.com, All Rights Reserved. Privacy Policy | Terms and Conditions Page URL: http://www.coolinterview.com/interview/5951/default.asp?cachecommand=bypass