by MathMonkeyMan · 2y ago · 0 comments
However, if you have a function parameter spelled `T array[N]`, that's really just a `T *array` with a helpful hint that it probably points to the beginning of an array of `N` `T`s. But it might not...
For the case of the function parameter, `sizeof array` is `sizeof(T*)`.
No comments yet.