RSS Feed for This PostCurrent Article

What are the differences between new and malloc?


Trackback URL

  1. 1 Comment(s)

  2. By gopi on Aug 2, 2008 | Reply

    in c language we have malloc by using pointers
    in c++ we have new without using pointers
    new,malloc are same using for memory allocation
    by using malloc we allocate memroy to variables
    by using new we allocate memory to objects
    by using new the system will decide its is taken as malloc or farmalloc

Post a Comment