New course! Every coder should learn Generative AI!
Try a free lesson+ 1
What is the advantage of using new operator as compared to the function malloc?
2 Answers
+ 3
New will automatically gather the correct amount of memory needed iirc. Malloc needs your to specify
+ 2
~ swim ~ thanks again 😊