address of function

Keith Tizzard kt at msor.UUCP
Mon Jun 12 19:56:14 AEST 1989


In article <2700 at solo8.cs.vu.nl> maart at cs.vu.nl (Maarten Litmaath) writes:
>Why weren't function pointers handled the way below?
>
>	int	foo(), (*bar)() = &foo;
>
>ANSI has fixed this, right?


 ... and does ANSI permit the following ?

	int	this[100], *that = &this;

I was under the impression that there was a symmetry between functions and
arrays.



More information about the Comp.lang.c mailing list