InterviewSolution
Saved Bookmarks
| 1. |
How The Delete Operator Differs From The Delete[]operator? |
|
Answer» When the new[] OPERATOR is USED to allocate memory dynamically, the DELETE[]operator is used to free the memory. The new[] operator is used to allocate memory to an array of VALUES, which starts with the index 0. When the new[] operator is used to allocate memory dynamically, the delete[]operator is used to free the memory. The new[] operator is used to allocate memory to an array of values, which starts with the index 0. |
|