Q:

Can I delete pointers allocated with malloc() ijn c++?

0

Can I delete pointers allocated with malloc()?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Answer:

No. It gives you undefined results.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

C++ Interview Questions For Experienced

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
How to call a non-const member function from a con... >>
<< Is there any problem with the following c++ code :...