delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/14/15:24:05

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: C++ front end bug
Date: Wed, 14 May 1997 09:54:49 -0700
Organization: Alcyone Systems
Lines: 20
Message-ID: <3379EE59.6C5EBA67@alcyone.com>
References: <Pine DOT D-G DOT 3 DOT 91 DOT 970512113147 DOT 24572A-100000 AT dg1> <5l8qq3$gdd AT freenet-news DOT carleton DOT ca>
NNTP-Posting-Host: newton.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Paul Derbyshire wrote:

> Given
> 
> int aa[]={3,4,5}
> 
> aa is a pointer to int, type int *.
> &aa is a pointer to a pointer to ints type int ** or maybe to an array,
> int (*)[3], if the array is static.

Eh?  The & operator when applied to an array name is completely
superfluous.

-- 
       Erik Max Francis, &tSftDotIotE / email / max AT alcyone DOT com
                     Alcyone Systems /   web / http://www.alcyone.com/max/
San Jose, California, United States /  icbm / 37 20 07 N  121 53 38 W
                                   \
                      "The future / is right there."
                                 / Bill Moyers

- Raw text -


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