CS201 · Midterm#6
Which of the following is the correct C++ syntax to allocate space dynamically for an array of 10 int?
Show correct answer
Correct answer: B. new int[10] ;
Check community answers against your course notes.
Read the question, compare the options, and review the correct answer below.
Correct answer: B. new int[10] ;