Re: Why the address of array equals array.
- From: Chris Dollin <chris.dollin@xxxxxx>
- Date: Wed, 14 Mar 2007 15:04:49 +0000
Rahul wrote:
On Mar 14, 7:27 pm, Matthew Zhou <zhouyan1...@xxxxxxxxx> wrote:
Array name is the representation of the address of the first element
of the array.
Hi,
its like array and &(array+0) or &array[0] are same.
Yes, exactly like that: both statements are false.
(`&(array+0)` isn't legal; you probably mean to leave
out the `&` or put in `*`, yes?)
--
Chris "starring hedgehog" Dollin
Nit-picking is best done among friends.
.
- Follow-Ups:
- References:
- Why the address of array equals array.
- From: 浩澄
- Re: Why the address of array equals array.
- From: Matthew Zhou
- Re: Why the address of array equals array.
- From: Rahul
- Why the address of array equals array.
- Prev by Date: Re: ANDing char and int data items
- Next by Date: Re: Why is C compiler stubborn ?
- Previous by thread: Re: Why the address of array equals array.
- Next by thread: Re: Why the address of array equals array.
- Index(es):
Relevant Pages
|