Ignoring programming style and design, is it \"safe\" to call delete on a variable allocated on the stack?
For example:
int nAmount; delete &am
Nobody can know what happens. This invokes undefined behavior, so literally anything can happen. Don't do this.