What happens if you leave out the size Declarator in an array definition?If you leave out the size declarator of an array definition, you do not have to include an initialization list. The uninitialized elements of a string array will automatically be set to the value "0". You cannot use the assignment operator to copy ones array's contents to another in a single statement.
How do you define an array without providing a size Declarator?How do you define an array without providing a size declarator? By providing an initialization list. The array is sized to hold the number of values in the list.
What is an array size Declarator? The number inside of the square brackets is called the array's size declarator. An array's Size Declarator indicates the number of elements, or values the array.
What is the difference between an array size Declarator and a subscript?The size declarator is used in a definition of an array to indicate the number of elements the array will have. A subscript is used to access a specific element in an array.
|