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