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;
Note: Incorrect replies: “No, 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”.
✍: Guest
2012-05-09, 3828👍, 0💬
Popular Posts:
How To Call a Sub Procedure? - Oracle DBA FAQ - Creating Your Own PL/SQL Procedures and Functions To...
Can a variable be both const and volatile? Yes. The const modifier means that this code cannot chang...
Can you explain in GSC and VAF in function points? In GSC (General System Characteristic) there are ...
If we have two version of same assembly in GAC how do we make a choice ? OK first let’s try to under...
How can you write a loop indefinitely? Two examples are listed in the following code: for(;;) { ... ...