Must declare function prototype in C?

Posted by Mohit Deshpande on Stack Overflow See other posts from Stack Overflow or by Mohit Deshpande
Published on 2010-04-04T16:59:34Z Indexed on 2010/04/04 17:03 UTC
Read the original article Hit count: 191

Filed under:
|
|

I am kind of new to C (I have prior Java, C#, and some C++ experience). In C, is it necessary to declare a function prototype or can the code compile without it? Is it good programming practice to do so? Or does it just depend on the compiler? (I am running Ubuntu 9.10 and using the GNU C Compiler, or gcc, under the Code::Blocks IDE)

© Stack Overflow or respective owner

Related posts about c

    Related posts about function