1

Which of the following will correctly initialize a dynamic array of integers with 10 elements?

Correct Answer: int* arr = new int[10];

Make the most of this question

This page focuses on one C++ MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.