Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!zephyr.ens.tek.com!tekgen!teksce!johnhi From: johnhi@teksce.SCE.TEK.COM (John Higley) Newsgroups: comp.lang.c Subject: Re: &&** Message-ID: <3720@teksce.SCE.TEK.COM> Date: 27 Sep 90 00:16:22 GMT References: <1990Sep7.021321.18381@watmath.waterloo.edu> <1990Sep7.080855.24070@irisa.fr> <0926@sheol.UUCP> Reply-To: johnhi@teksce.SCE.TEK.COM (John Higley) Organization: Tektronix, Inc., Beaverton, OR. Lines: 25 As an experiment, I took the program and fed it to Saber-C. Using the browsing tool and a lot of printing, I discovered that each of the & operators returned an L-value. Going further, I found that the last one did not. Here are the results and a little picture: addr name contents __________ 2cf | d |'d'| ---------- 2d0 |pd |2cf| ---------- 2d4 |ppd |2d0| ---------- print &(*(*(ppd))) --> 2cf print &(&(*(*(ppd)))) --> 2d0 print &(&(&(*(*(ppd))))) --> 2d4 print &(&(&(&(*(*(ppd)))))) --> An lvalue (addressable object) is required. John Higley Tektronix, Inc. Component Engineering Group johnhi@teksce.SCE.TEK.COM