Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
0
malloc() is part of the C language dynamic memory handling, as C is part of C++ it is avaliable in C++. new and delete is the way to work with dynamic memory in C++
3rd Dec 2016, 8:34 PM
Mattias Eriksson
Mattias Eriksson - avatar