News for hackers. Stuff that matters.
Re:To become a good C programmer (2011) by dsfuoi on Sunday May 01, 2016 @12:30PM (#11606790)
Fabien is hinting at the confusion: sizeof(&array[0]) != sizeof(array)

&array[0] and array decay to the same thing, the pointer to the first element if they are used in an expression. But sizeof gives a different result, because array+0 'decays' to a pointer, and array doesn't.

There are no comments on this comment yet.