I thought it was just delete thing because I thought it's not an array, so [] shouldn't be used. But then I came across a c-string defined as char* c and it seems a pointer can be treated as an array, since it was deleted with delete[] c. So I'm a little confused.