Re: Simple question on Pointers



On Sun, 30 Nov 2008 02:09:20 +0700, "Alan Carre" <alan@xxxxxxxxxxxxxxxxx>
wrote:

[Alan]
a[0], a[1], .... a[12] are all initialized variables (12 variables). 'a',
however, is not.

[Doug]
Again, the array "a" is certainly initialized, and a[i] are not separate
variables; they are all part of "a". BTW, I thought we were talking about a
char[12]. :)

[Alan]
I don't know what a "char[12]" is. Perhaps you're thinking we're talking
about FORTRAN or something. There is no such thing as a char[12] as far as
the C++ language is concerned.

BTW, did you get the point that a[i] are not separate variables? What about
the smiley usage?

--
Doug Harrison
Visual C++ MVP
.



Relevant Pages

  • Re: Re Creating Email Notification - att: Alan Connor
    ... Alan Connor wrote: ... >> (That's a curly brace. ... > Hey Doug. ... I had got the script again from ...
    (comp.os.linux.misc)
  • Re: Do I need to reinstall?
    ... Doug Laidlaw wrote: ... > Alan Connor wrote: ... An obnoxious and abrasive arrogant prick who has been killfiled by ... Doug, just to make it clear, we are talking about peter not Stanley. ...
    (comp.os.linux.setup)
  • Re: Threat to aircraft orders as fuel prices soar.
    ... 34g2000hsf.googlegroups.com>, Doug says...> ... BTW, that is why GW is now ... tried to fudge the issue in the hope that nobody would notice. ... going to have *some* effect eventually, quite what is anyones guess. ...
    (uk.transport)
  • Re: Kirsten Seavers Vinland Map book- first thoughts
    ... > David B and Doug have definitely missed something - first of all they ... > missed, which Kirsten Seaver also has btw, that there is a map which have ... > correspond to the Vinland map. ... Well one needs do no more than read Kirsten's claims (which BTW isn't ...
    (sci.archaeology)
  • Re: Kennedy, truth at last
    ... >> (How old is Ian Paisley, BTW?) ... And Alan Hope is 63. ... The dossier contains ...
    (uk.politics.electoral)

Quantcast