Final answer:
In C++, if an array's size declarator is omitted, the compiler counts the items in the initializer list to determine the array size.
Step-by-step explanation:
If the size declarator of an array definition is omitted, C++ counts the number of items in the initializer list to determine how large the array should be. This allows the compiler to automatically calculate the size of the array based on the number of values provided in the braces that follow the array name declaration. For example, if you declare an array with int myArray[] = {1, 2, 3};, the compiler will create an array of three integers because there are three items in the initializer list.