A simple compatability question.

Ronald Guilmette rfg at paris.ics.uci.edu
Tue Feb 13 20:16:50 AEST 1990


/* gcc 1.36 question 891215_01

Should the following code generate either errors or warnings when compiled
with an ANSI conformant C compiler?

*/

void function_1 (int a[]);
void function_1 (int *a);

void function_2 (int f());
void function_2 (int (*f)());



More information about the Comp.std.c mailing list