Resizes an array and initializes the elements
void resize(size_t sz, T c = T());
If no object is provided the array is initialized with the default constructor.