Which of the following is correct about new and malloc? i) new is an operator whereas malloc is a function ii) new calls constructor malloc does not iii) new returns required pointer whereas malloc returns void pointer and needs to be typecast
1.i and ii
2. ii and iii
3.i and iii
4. i ii and iii
Posted Date:-2021-02-19 19:04:03