Hi, everyone!

Look at the following codes,

--------
const char* p = "12345";
char* q = "54321";
--------

If I want to release the memory, should I use

--------
delete[] p;
delete[] q;
--------

or should I use

--------
delete p;
delete q;
--------


Thanks in advance,
George