C++ Array With Empty Members

Declare an array with empty members using the following steps:

  1. Initialize the array with a specific size, using empty initialization if the members are objects with non-trivial default constructor.
  2. Access and manipulate the empty members as needed using the designated index in the array.