Date: Tue, 28 Apr 1998 13:44:39 +0300 (IDT) From: Eli Zaretskii To: "John M. Aldrich" cc: djgpp AT delorie DOT com Subject: Re: Proper use of the & operator In-Reply-To: <35452038.421C@cs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Mon, 27 Apr 1998, John M. Aldrich wrote: > > memset(&strbuf, 0, 13); > > Many compilers seem to have no problem with that construct; taking the > address of an array label has the same semantic meaning as using the > array label itself. However, the type of the pointer is open to > question. AFAIK, &array is perfectly legal in ANSI C, and yields a pointer to the array, so it is the same as &array[0].