parameter names in prototypes

Henry Spencer henry at zoo.toronto.edu
Thu Dec 13 15:48:01 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.

Boy, is that ever a pain to parse, too.  You have no idea.
-- 
"The average pointer, statistically,    |Henry Spencer at U of Toronto Zoology
points somewhere in X." -Hugh Redelmeier| henry at zoo.toronto.edu   utzoo!henry



More information about the Comp.lang.c mailing list