Domanda di colloquio di Bloomberg

Difference between malloc and new?

Risposta di colloquio

Anonimo

21 ott 2017

This question came up when I used malloc to create node of Linked List. Interviewer pointed out that malloc is C way of doing things and asked what is the alternative to malloc in C++.