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? T *p = 0; delete p;
Anything wrong with this code?
T *p = 0;
delete p;
✍: Guest
Yes, the program will crash in an attempt to delete a null pointer.
2012-03-05, 4338👍, 0💬
Popular Posts:
What will be printed as the resultof the operation below: int x; int modifyvalue() { return(x+=10); ...
How can we suppress a finalize method? GC.SuppressFinalize ()
Can JavaScript steal text from your clipboard? It is true, text you last copied for pasting (copy &a...
How do we create DCOM object in VB6? Using the CreateObject method you can create a DCOM object. You...
How do we create DCOM object in VB6? Using the CreateObject method you can create a DCOM object. You...