parameter names in prototypes

Doug Gwyn gwyn at smoke.brl.mil
Thu Dec 13 15:19:43 AEST 1990


In article <AUVBARN.90Dec12185342 at auvc5.tamu.edu> auvbarn at auvc5.tamu.edu (David Barnett) writes:
>Is the following prototype legal in ANSI C?
>int foo(int a, int );

Yes, a strictly conforming program has the option of supplying identifiers
for the prototype parameters or not, in any combination.  This follows
directly from the grammar.



More information about the Comp.lang.c mailing list