"Martin Ambuhl" <ma*****@earthlink.net> wrote in message
news:q5******************@newsread2.news.atl.earth link.net...
lgn wrote:
int or char or void? and how to check it?
thx!
Until 1999, a function without an explicit return type returned an int.
Since 1999, a function without an explicit return type is an error.
I think that's somewhat misleading. For the vast majority of C programmers,
implicit int is still a <cough>feature</cough> of our conforming compilers.
In other words, the C90 standard itself didn't change as a consequence of
C99. [Of course, sensible C programmers don't use implicit int without a
severe reason, e.g. gun to the head... :-)]
--
Peter