Which of the following is the correct C syntax to allocate space-03228
Which of the following is the correct C++ syntax to allocate space dynamically for an array of 10 int?
This multiple choice question (MCQ) is related to the book/course vu cs201 Introduction to Programming. It can also be found in vu cs201 Mid Term - Quiz No.14.
Which of the following is the correct C++ syntax to allocate space dynamically for an array of 10 int?
new int(10) ;
new int[10] ;
int new(10) ;
int new[10];