As far as I know, the following 2 prototypes
Code:
int function (int array []);

int function (int *array);
are identical in C, however I think the vast majority of people (including me) prefer the first. Today, one of my professors was looking at my code, and told me the first was "not ansi" and that I should use the 2nd. I told him they're both the same and it compiles with -ansi. He just said "yeah, then show me where it says that in K&R."

Should I correct him? He also makes other offenses like fflush(stdin) and main() instead of int main(void). This is not a computer science or programming class, although it is a major component of the course. He has given me a ton of help over the past year and I have a great deal of respect for him. Also, he has been doing this for over 15 years while I only have a couple years of experience with C.

I would appreciate any advice.