[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Strange C behaviour

On Tue, Apr 04, 2000 at 12:30:32PM +0200, Davide Libenzi wrote:
> All compilers I've used do it in that way and it's right if You think.
> What value do You expect to receive from  &array_var ?

When I started learning C (okay, that's quite some 15 years ago) I think I
learned that an array is the same as a pointer. So I'd expect it to be
pointer to the pointer.

Michael Meskes                         | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz    | Go Rhein Fire!
Tel.: (+49) 2431/72651                 | Use Debian GNU/Linux!
Email: Michael@Fam-Meskes.De           | Use PostgreSQL!

Reply to: