Mark As Completed Discussion

Try this exercise. Click the correct answer from the options.

Which of the following is true regarding arrays and collections in C++?

Click the option that best answers the question.

  • Arrays are fixed-size while collections can dynamically grow in size
  • Arrays can hold elements of different types while collections can only hold elements of the same type
  • Arrays and collections are both fixed-size data structures
  • Arrays and collections in C++ are interchangeable and can be used interchangeably