c - Can I declare a function without specifying a type for one of the parameters? -


can function defined this:

int foo(int temp1, int temp2 temp3) {    ... } 

specifically temp2 , temp3, cause errors? if not, what's overall effect?

you're wrong.. perfectly valid with:

#define temp2 blah) { return 1; } int foo_ (int int foo(int temp1, int temp2 temp3) {         return 0; } 

(this outcome of me feeling little humorous first thing in morning - feel free downvote if you'd ;))


Comments