Name: Anonymous 2009-11-04 19:33
#include <stdio.h>
void func() {
printf("hello world\n");
}
void (*go)() = func;
int main() {
go(); // number 1...
(*go)(); // or number 2
return 0;
}Which is correct ANSI C89? GCC accepts both, even in -ansi -pedantic; it outputs hello world twice.