View example sentences and word forms for Sizeof.
Sizeof
Example sentences (3)
Furthermore, in most expression contexts (a notable exception is as operand of sizeof ), the name of an array is automatically converted to a pointer to the array's first element.
However, arrays created by dynamic allocation are accessed by pointers rather than true array variables, so they suffer from the same sizeof issues as array pointers.
Since array name arguments to sizeof are not converted to pointers, they do not exhibit such ambiguity.