C++ Arrays Practice Questions
1. What is an array?
An array is a series of elements of the same type placed in contigous memory locations that can be referenced by adding an index to a unique identifier.
2. How do you initialize a c++ array?
type name [elements]
type: a valid type such as int or float
name: valid identifier
elements: always enclosed in square brackets [ ] and specifies the length of the array in terms of the number of elements