C/C MCQ Quiz Hub

C Programming MCQS Set-2

Choose a topic to test your knowledge and improve your C/C skills

1.  Which of the following is correct about new and malloc?




2. What is virtual inheritance?




3. What is the difference between delete and delete[] in C++?




4. 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