|
 |
Darren New <dne### [at] san rr com> wrote:
> Warp wrote:
> > Also the syntax of indexing an array and indexing memory using a pointer
> > is identical, adding to the confusion.
> Plus, you can't pass an array to a function, at least in C.
Not directly, but you can do it indirectly if you enclose the array inside
a struct (in that case the array (inside the struct) is truly passed by
value rather than by-pointer).
--
- Warp
Post a reply to this message
|
 |