delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/03/15:47:02

From: sylvainp AT mypc DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Proper use of the & operator
Message-ID: <354cc28b.11579244@news.microtec.net>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 980428134420 DOT 27094J-100000 AT is>
Lines: 10
Date: Sun, 03 May 1998 19:17:37 GMT
NNTP-Posting-Host: as51-10-ppp15.mtl.microtec.net
NNTP-Posting-Date: Sun, 03 May 1998 15:17:37 EDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Tue, 28 Apr 1998 13:44:39 +0300 (IDT), Eli Zaretskii
<eliz AT is DOT elta DOT co DOT il> wrote:

>AFAIK, &array is perfectly legal in ANSI C, and yields a pointer to
>the array, so it is the same as &array[0].

AFAIK, array and &array[0] will both yield a pointer to the array, but
I read &array as a pointer to the pointer to the array.

Sylvain Poirier

___
C is mother, C is father.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019