3 ms·
> Ritchie relaxed the definition-before-use rule by allowing > redundant declarations of procedure headings. At the > expense of a redundant advance declara
by kps 12y ago
> Ritchie relaxed the definition-before-use rule by allowing
> redundant declarations of procedure headings. At the
> expense of a redundant advance declaration the programmer
> can define mutually recursive procedures in C.
Point of order: C didn't have a declaration-before-use rule until C99. C had ‘implicit int’; no redundant declarations necessary.
- craigching 12y agoI thought ANSI C had that roughly around 1990? I remember having to forward declare functions when I took C at University in around 1991 or so.