Ignoring programming style and design, is it \"safe\" to call delete on a variable allocated on the stack?
For example:
int nAmount; delete &am
An angel loses its wings... You can only call delete on a pointer allocated with new, otherwise you get undefined behavior.
delete
new