Re: [SLUG] Wanting to learn C - book suggestions? (correction)

From: perthie (perthie@yahoo.com)
Date: Fri Mar 11 2005 - 11:23:43 EST


> > * The return type (int) should be specified.
>
> the return type if unspecified is assumed to be int. its good
> programming practice to specify the return type, but its not required
> or pedantically incorrect according to ANSI/ISO.
>

oops! the standard requires an explicit return, but many compilers do
not. my bad.

                
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:31:52 EDT