Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
Anything wrong with this code? ......
Anything wrong with this code?
T *p = new T[10];
delete p;
✍: Guest
Everything is correct, Only the first element of the array will be deleted”, The entire array will be deleted, but only the first element destructor will be called.
2012-03-02, 3038👍, 0💬
Popular Posts:
How is the MVC design pattern used in Struts framework? In the MVS design pattern, there 3 component...
An application needs to load a library before it starts to run, how to code? One option is to use a ...
How can I show HTML examples without them being interpreted as part of my document? Within the HTML ...
What is the purpose of finalization? The purpose of finalization is to give an unreachable object th...
How To Control Vertical Alignment? - XHTML 1.0 Tutorials - Understanding Tables and Table Cells By d...