Array Basics (sizeof)

If you dereference a real pointer to an array, you can get the size using sizeof.

Only if it's a compile-time constant, right?
(and, are you sure? I though ((sizeof array)/sizeof(*array)) was one of those tricks for finding the number of elements in an array...)