Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!wuarchive!udel!haven!mimsy!chris From: chris@mimsy.umd.edu (Chris Torek) Newsgroups: comp.lang.c Subject: Re: "array" vs. "&array" ? Message-ID: <21420@mimsy.umd.edu> Date: 23 Dec 89 16:25:21 GMT References: <1989Dec22.013757.3086@sj.ate.slb.com> <571@mwtech.UUCP> <1989Dec23.151411.3688@virtech.uucp> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 15 In article <1989Dec23.151411.3688@virtech.uucp> cpcahil@virtech.uucp (Conor P. Cahill) writes: [re obtaining the address of an array, rather than the address of an element of that array] >main() >{ > char a[10], (*p)[10]; > > p = (char (*)[10]) a; >} This is exceedingly ugly, although it is probably portable. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@cs.umd.edu Path: uunet!mimsy!chris