Why isn\'t the size of an array sent as a parameter the same as within main?
#include void PrintSize(int p_someArray[10]); int main () {
Arrays are only loosely sized. For the most part, an array is a pointer to memory. The size in your declaration only tells the compiler how much memory to allocate for the array - it's not associated with the type, so sizeof() has nothing to go on.