Therefore, sizeof should not be used to get number of elements in such cases. A separate parameter for array size (or ...
www.geeksforgeeks.org