Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!mcgill-vision!mouse From: mouse@mcgill-vision.UUCP (der Mouse) Newsgroups: comp.lang.c Subject: Re: Clarification needed on Pointers/Arrays Message-ID: <1465@mcgill-vision.UUCP> Date: 9 Mar 89 11:43:01 GMT References: <1436@etive.ed.ac.uk> <889@acf3.NYU.EDU> <11840@haddock.ima.isc.com> <890@acf3.NYU.EDU> Organization: McGill University, Montreal Lines: 21 In article <890@acf3.NYU.EDU>, sabbagh@acf3.NYU.EDU (sabbagh) writes: > [Thus] something like > int a[10],b[10]; > a = b; > is easy enough to interpret as array copy, but it be a "high-level" > construct that is not found in other semnatic areas of C. Other areas like.... struct foo a, b; a = b; for example? I see no essential difference, except for the weight of history: arrays have always been converted to pointers in expressions, therefore they always must be. (No similar requirement ever existed for structs, of course.) der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu