Which of the following syntax is best used to delete an array-02640
Which of the following syntax is best used to delete an array of 5 objects named 'string' allocated using new operator.
This multiple choice question (MCQ) is related to the book/course vu cs201 Introduction to Programming. It can also be found in vu cs201 Final Term - Quiz No.12.
Which of the following syntax is best used to delete an array of 5 objects named 'string' allocated using new operator.
delete string;
delete []string;
delete string[];
delete string[5];