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, 2954👍, 0💬
Popular Posts:
How did you implement UML in your project ? PART II Implementation phase / Coding phase (Class diagr...
Enable ASP.NET polling using “web.config” file Now that all our database side is configured in order...
What is page thrashing? Some operating systems (such as UNIX or Windows in enhanced mode) use virtua...
What is the quickest sorting method to use? The answer depends on what you mean by quickest. For mos...
Can you explain Forms authentication in detail ? In old ASP if you where said to create a login page...