compatibility of types
Karl Heuer
karl at haddock.ima.isc.com
Thu Jul 12 07:48:22 AEST 1990
In article <1842 at tkou02.enet.dec.com> diamond at tkou02.enet.dec.com (diamond at tkovoa) writes:
>int(*)[3] and int(*)[5] also point to integers,
Actually they point to arrays which happen to contain integers, but we'll let
that pass.
>but they are not compatible with each other. It's a bit too subtle for me to
>figure out if each is compatible with int* or not.
No, but they are each compatible with the pointer-to-incomplete-type int(*)[].
Karl W. Z. Heuer (karl at kelp.ima.isc.com or ima!kelp!karl), The Walking Lint
More information about the Comp.std.c
mailing list