Path: utzoo!attcan!uunet!aplcen!samsung!usc!snorkelwacker!spdcc!ima!haddock!karl From: karl@haddock.ima.isc.com (Karl Heuer) Newsgroups: comp.std.c Subject: Re: compatibility of types Message-ID: <17068@haddock.ima.isc.com> Date: 11 Jul 90 21:48:22 GMT References: <1990Jul11.002522.24178@ccu.umanitoba.ca> <1842@tkou02.enet.dec.com> Reply-To: karl@haddock.ima.isc.com (Karl Heuer) Organization: Interactive Systems, Cambridge, MA 02138-5302 Lines: 12 In article <1842@tkou02.enet.dec.com> diamond@tkou02.enet.dec.com (diamond@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@kelp.ima.isc.com or ima!kelp!karl), The Walking Lint