Home > Articles > Programming > C/C++

  • Print
  • + Share This
This chapter is from the book

Review

  1. What does “Caveat emptor!” mean?
  2. What is the default meaning of copying for class objects?
  3. When is the default meaning of copying of class objects appropriate? When is it inappropriate?
  4. What is a copy constructor?
  5. What is a copy assignment?
  6. What is the difference between copy assignment and copy initialization?
  7. What is shallow copy? What is deep copy?
  8. How does the copy of a vector compare to its source?
  9. What are the five “essential operations” for a class?
  10. What is an explicit constructor? Where would you prefer one over the (default) alternative?
  11. What operations may be invoked implicitly for a class object?
  12. What is an array?
  13. How do you copy an array?
  14. How do you initialize an array?
  15. When should you prefer a pointer argument over a reference argument? Why?
  16. What is a C-style string?
  17. What is a palindrome?
  • + Share This
  • 🔖 Save To Your Account