HexLab

Practice

Practice Questions

A short practice set to reinforce the lesson topics.

Lesson content

Practice Questions

Practice prompts

  1. What is the difference between a pointer and a reference?
  2. Explain the four pillars of OOP with C++ examples.
  3. What is the difference between vector and array?
  4. How does memory management work in C++ compared to Java?
  5. When would you use templates in C++?