Closed adem closed 4 years ago
In the Dynamic Storage Duration > Dynamic Arrays section, the example for deallocating the previously allocated my_int_array_ptr reads delete[] my_int_ptr.
my_int_array_ptr
delete[] my_int_ptr
Instead, it should read delete[] my_int_array_ptr.
delete[] my_int_array_ptr
Thanks, @adem!
In the Dynamic Storage Duration > Dynamic Arrays section, the example for deallocating the previously allocated
my_int_array_ptr
readsdelete[] my_int_ptr
.Instead, it should read
delete[] my_int_array_ptr
.