On Wed 2008-07-23 08:48:00 UTC+0100, kathir resh ([EMAIL PROTECTED]) wrote:
> how to view what does main returns (ie 0 success flag)
Already answered in another reply, but:
> #include<stdio.h>
> void main()
> {
> printf("godisgreat");
> }
There is no guarantee that this code returns 0.
main returns an int, so your code above is not strictly legal. Read
sections 11.12 & 11.14 of the C FAQ:
http://www.faqs.org/faqs/C-faq/
Better yet, read the entire FAQ!
