D
Dave Thompson
Richard Bos wrote: (casting return of malloc)
C++ compilers also enforce prototype predeclarations (so would C99
compilers if they existed). So exactly which dangerous mistake do you
think I am going to miss?
C++ does require prototypes (though not using that term).
C99 requires _declarations_ but not necessarily prototypes. That is
enough for the return type, as here, but not arguments.
- David.Thompson1 at worldnet.att.net