Re:A Tale of Two Pwnies (Part 1)
by jackpirate on Wednesday May 23, 2012 @01:40AM
(#4011724)
the type of that is an (int*) if I'm not mistaking
[ Parent
| on HN ]
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.