MAIN DIFFERENCE BETWEEN "ALLOC" AND "NEW"

Tarun Kumar

Total Post:107

Points:535
Posted by  Tarun Kumar
 539  View(s)
Ratings:
Rate this:
  1. Tarun Kumar

    Post:107

    Points:535
    Main difference between "alloc" and "new"

    “alloc” only creates a new memory location but doesn’t initializes it but “new” works both allocation and initialization.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!