Arrays are decomposed into pointers to the type of the element as arguments to the function, therefore sizeof arr- sizeof(elem*).
You must pass the number of elements as an additional argument, there is no way to determine this from a pointer to the first element of the array (which is actually passed in this situation).