...
- otherwise, the derived type is an unspecified character type compatible with any of char, signed char, and unsigned char.
Example: float val;
Wiki Markup |
---|
int arr \[ARR_SIZE\]; |
size_t c1 = sizeof (val);
size_t c2 =
size_t c3 = sizeof (arr) / sizeof (*arr);
The derived type in the above example is float for c1, is ... for c2, and is an unspecified character type compatible with any of char, signed char and unsigned char for c3.
Effective size of a pointer is the size of the object to which it points.
...