Path: utzoo!utgpu!watserv1!watmath!att!bellcore!rutgers!mcnc!rti!sheol!throopw From: throopw@sheol.UUCP (Wayne Throop) Newsgroups: comp.lang.c Subject: Re: Silly question... (when is an array not a pointer) Summary: who keeps spreading this rumor? Message-ID: <0794@sheol.UUCP> Date: 10 Jul 90 22:01:32 GMT References: <4877@uafhp.uark.edu> Lines: 40 From: bbs00068@uafcseg.uucp (Joel Kolstad) > MyBytes Mem[]; > MyBytes *Mem; > This is certainly equivalent, It is certinly *NOT* equivalent. This particular Frequently Promulgated Misconception (which is addressed in lengthy detail on the Frequently Asked Questions list) arouses my curriosity. I would appreciate it if Joel (and anybody else who is now, or who has ever been a holder of this heresy) would email me a short summary of how they arrived at this error. I'd like to gather a sampling and see if there is a common reason for making this error. BTW: in case it isn't clear: an array is NEVER a pointer. In one (ill considered, in my opinion) irregular place in the language an array declaration is interpreted as a pointer declaration. -- Wayne Throop !mcnc!rti!sheol!throopw or sheol!throopw@rti.rti.org