When we allocate a memory by new why free is used to deallocate it why can't we use delete?
malloc delete
new free
why??
Type: Posts; User: neerajmattass; Keyword(s):
When we allocate a memory by new why free is used to deallocate it why can't we use delete?
malloc delete
new free
why??