which of the below statemen(s)is(are) true for malloc() & new functions?

  1. malloc is used to allocate store for integer arrays only

  2. new is used to allocate store for objects only

  3. new is used to allocate any kind of memory

  4. malloc is used to allocate any kind of memory

  5. new initializes the store after allocation

  6. malloc intializes the store after allocation


Correct Option: C,D

Find more quizzes: