C/C MCQ Quiz Hub

C Programming MCQS Set-2

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

 Which of the following is correct about new and malloc?





✅ Correct Answer: 4

What is virtual inheritance?





✅ Correct Answer: 1

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





✅ Correct Answer: 3

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





✅ Correct Answer: 4