c - Function declaration: K&R vs ANSI -
this question has answer here:
what differences between k&r function declaration , ansi function declaration?
k&r syntax obsolete, can skip unless have maintain old code.
// k&r syntax int foo(a, p) int a; char *p; { return 0; } // ansi syntax int foo(int a, char *p) { return 0; }
Comments
Post a Comment