+1 vote
in C Plus Plus by
Which one of the following statements correctly refers to the Delete and Delete[] in C++ programming language?

a) Delete is syntactically correct although, if the Delete[] is used, it will obtain an error.

b) The "Delete" is used for deleting the standard objects, while on the other hand, the "Delete[]" is used to delete the pointer objects

c) The "Delete" is a type of keyword, whereas the "Delete[]" is a type of identifier

d) The "Delete" is used for deleting a single standard object, whereas the "Delete[]" is used for deleting an array of the multiple objects

1 Answer

0 votes
by

The "Delete" is used for deleting a single standard object, whereas the "Delete[]" is used for deleting an array of the multiple objects

...