int foo(x, y, z)
double *x;
int y;
double z;
{
/* do something */
}
or
int foo(double *x, int y, double z)
{
/* do something */
}
I notice the first one appeared in 1978's The C Programming Language
book.
The second edition of the book adopted the second one. The first one
seem more
readable when there are many arguments.
double *x;
int y;
double z;
{
/* do something */
}
or
int foo(double *x, int y, double z)
{
/* do something */
}
I notice the first one appeared in 1978's The C Programming Language
book.
The second edition of the book adopted the second one. The first one
seem more
readable when there are many arguments.
Comment