cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
delete()
delete()
Oct 22, 2014 at 10:56am UTC
vishnu123
(22)
why delete cannot be applied to pointers that were created on stack. :)
with regards,
vishnu k.
Oct 22, 2014 at 10:58am UTC
mutexe
(2372)
because there is no memory to free up.
memory is only allocated on the heap with new or malloc.
Last edited on
Oct 22, 2014 at 10:59am UTC
Topic archived. No new replies allowed.