"Daniel Morais" <[EMAIL PROTECTED]> wrote in message
news:52785@palm-dev-forum...
>
> On Mercredi 13 Juin 2001 08:23, Ben Combee wrote :
>
> > Actually, if you have an array, &name is the same as name. See ISO
C
> > (1999), $6.3.2.1 part 3, array names get converted to pointers
except
> > when used with sizeof or the '&' operator.
>
> You tell it : "except when used with sizeof or the '&' operator" !
> :)
>
> For arrays, name is the same than &name[0] and is not equivalent to
&name.
>
> So steve was right, he should use dummyString or &dummyString[0].
&name means the address of the array name. Guess what -- that is
exactly the same thing as the address of the 0th element of the array
name.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/