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.Question permalink ↗
Think through the options before revealing the answer. Use the term filter to focus your revision.
Correct answer: B. new int[10] ;
Correct answer: C. 12 bytes
Correct answer: A. data type
Correct answer: C. Class-name operator ++() ;
Correct answer: D. It can be declared anywhere in class as these are not affected by the public and private keywords
Correct answer: B. One