No defined type of a function parameter defaults to int? Am I insane?

K&R-style function declaration:

void foo(n) 
    int n; 
{

}

If type isn’t specified, it defaults to int. This is valid in C89, not C99

Leave a Comment