Hi everyone. I'm learning C99.

K&R second edition, 5th chapter, seems to give the following syntax for calling a function from a function pointer:

void (*fn)() = myfunction;
(*fn)();

yet, my compiler seems to accept:

fn();

Is the latter valid C, or an extension? TIA,

Richard