Main difference between "alloc" and "new"
Ask by Tarun Kumar
Updated 18 Sep 2020
“alloc” only creates a new memory location but doesn’t initializes it but “new” works both allocation and initialization.