sos help for understanding

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

 



Hi everybody.
Sorry, I'm a  new user and i want to understand why this c code work (in
linux I'm worling on mandriva 2009 spring)?
main()
{printf("hello,world");}

why does not the compiler complain about the missing stdio.h ? it just gives
"warning:incompatible implicit declaration of built-in function printf" and
actually prints the string "hello,world".
-- 
View this message in context: http://old.nabble.com/sos-help-for-understanding-tp26230861p26230861.html
Sent from the gcc - Help mailing list archive at Nabble.com.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux