Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
delete[] (pronounced as 'delete array') is the version of delete to delete arrays. In the example below, calling delete would only delete the first element of the arrays, where delete[] really deletes the arrays.
int main() |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.