Re:Are pointers and arrays equivalent in C? (2009)
by arielby on Saturday March 21, 2015 @01:19PM
(#9243398)
According to the C FAQ, Whenever an array appears in an expression, the compiler implicitly generates a pointer to the array's first element, just as if the programmer had written &a[0]. The exceptions are when the array is the operand of a sizeof or & operator, or is a string literal initializer for a character array.
[ Parent
| on HN ]
There are no comments on this comment yet.