begin  quoting Andrew Lentvorski as of Tue, Jun 06, 2006 at 05:59:13PM -0700:
> Gabriel Sechan <[EMAIL PROTECTED]> writes:
> 
> >Arrays are always pointers, the asm for the two are identical.
> 
> Um, no.

I've always read that "array references decompose into pointers", which
is not the same thing as "arrays are always pointers".

> I suggest "Expert C Programming" by Peter Van Der Linden.
> 
> Chapter 4.  The Shocking Truth: C Arrays and Pointers are NOT the Same!

Wouldn't compiling a tiny fraction of code to assembly be a quick way
to demonstrate this?

-- 
_ |\_  "int main( int argc, char **argv ) { ... return EXIT_SUCCESS; }"
 \|


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to