c++ - Deleting a char array - Stack Overflow

c++ - Deleting a char array - Stack Overflow

瀏覽:769
日期:2025-11-20
this question is related to this one. Given this code char *p = new char[200]; delete[] p;. what would happen if you set p[100] = '\0' before ......看更多