Hacker News new | ask | show | jobs
by jackpirate 5138 days ago
the type of that is an (int*) if I'm not mistaking
1 comments

There's an automatic conversion to int* when necessary, but the array is nominally a distinct type. This is particularly apparent in C++ where you can do things like instantiate a template from the array type and create a compile-time function to return the number of elements.