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, 3070👍, 0💬
Popular Posts:
Explain all parts of a deployment diagram? Package: It logically groups element of a UML model. Node...
What is shadowing ? When two elements in a program have same name, one of them can hide and shadow t...
Have you ever worked with Microsoft Application Blocks, if yes then which? Application Blocks are C#...
Where Is the Submitted Form Data Stored? - PHP Script Tips - Processing Web Forms When a user submit...
How To Assign Debug Privileges to a User? - Oracle DBA FAQ - Introduction to Oracle SQL Developer In...