Which of the following describes the correct syntax for overloading new operator for arrays

  1. new operator cannot be overloaded

  2. void *operator new(size_t,int);

  3. void operator new;

  4. void *operator new;


Correct Option: D

Find more quizzes: