C question: no warning ???

Posted by Grv on Stack Overflow See other posts from Stack Overflow or by Grv
Published on 2010-04-01T06:49:44Z Indexed on 2010/04/01 6:53 UTC
Read the original article Hit count: 264

Filed under:
|
|

main() { printf("Hello World."); }

Why does no warning is produced in gcc compiler even though we declare main() with return type 'int'

© Stack Overflow or respective owner

Related posts about c

    Related posts about c++