Categories:
.NET (357)
C (330)
C++ (184)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (2)
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, 3162👍, 0💬
Popular Posts:
Example of using Regular Expressions for syntax checking in JavaScript ... var re = new RegExp("^(&a...
What is PMP(project management plan)? The project management plan is a document that describes the p...
What does AddressOf operator do in background ? The AddressOf operator creates a delegate object to ...
How To Empty Your Recycle Bin? - Oracle DBA FAQ - Managing Oracle Database Tables If your recycle bi...
What Happens If One Row Has Missing Columns? - XHTML 1.0 Tutorials - Understanding Tables and Table ...