How to pass an array to a function that uses sizeof?

array length function in c
how to find length of array in c without using sizeof
sizeof(array c++)
size of array using pointer
c++ get size of array passed to function
how to find size of array passed to a function
how to print the size of an array
how to find size of dynamic array in c