Programming
Programming
3. Show the general forms for new and delete. What are the advantages of using them instead
of malloc() and calloc()? (2)
4. Give two reasons why you might want to overload a class’s constructor. (2)
5. Briefly explain what “overload” keyword does and why it is no longer needed? (2)
7. Write a program to find the factorial of a number using call by reference concept. (3.5)