array is an array
sizeof (array) is the total amount of memory (bytes) occupied by this array, sizeof(int) is the memory occupied by a single. So, sizeof (array) / sizeof (int) is the number of elements in the array array.
array is an array
sizeof (array) is the total amount of memory (bytes) occupied by this array, sizeof(int) is the memory occupied by a single. So, sizeof (array) / sizeof (int) is the number of elements in the array array.