|
|
|
|
|
by dsfuoi
3700 days ago
|
|
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. |
|