DragonFly BSD
DragonFly submit List (threaded) for 2005-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: A silly little utility


From: Eduardo Tongson <propolice@xxxxxxxxx>
Date: Mon, 22 Aug 2005 19:08:09 +0000

> 
> Why does this program compile without including stdio.h ?
> 
> Does it matter if the variable declarations come before
> or after 'main()'?
> 
> Any problems with the style or the logic of the code?
> 

gcc will complain because of the implicit printf
and a missing return value.

--ed




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]