pointers to arrays

fso10235 at uxa.cso.uiuc.edu fso10235 at uxa.cso.uiuc.edu
Sat Feb 18 02:40:00 AEST 1989


In your example, you state that E is an "array" and
then go on to talk about &E.

E is actually an address itself; it is the address
of the first element of the array.  Putting brackets
after any number merely dereferences to that number
plus what is in the brackets.

This is in K&R, I believe.


Felix Ortony
fso10235 at uxa.cso.uiuc.edu
fortony at civilgate.ce.uiuc.edu



More information about the Comp.lang.c mailing list