C++: practice, test and prove it
C++ fundamentals: classes, constructors, references, virtual functions, overloading, STL containers and RAII.
C++ screenings build on C knowledge and then test object-oriented behaviour and the standard library. Common questions ask in what order constructors and destructors run, whether a call reaches the base or the derived version, how references differ from pointers, and how vector and map behave.
This page gives you practice with those patterns. The lessons explain object lifetime and RAII first, then inheritance and virtual functions, because those two areas produce most of the tricky output questions.
Benchmark: The pass mark on this site is 80%, and C++ is commonly screened for systems, game, embedded and performance-focused developer roles. Requirements vary by employer.
Lessons
Interview prep
Certificate
Common questions
Which C++ standard should I study?
Most screening questions use features from C++11 onward, such as auto, range-based for loops and smart pointers. C++17 is a safe baseline for practice.
Do I need to know C before C++?
It helps with pointers and memory, but it is not required. Modern C++ encourages references, containers and smart pointers in place of many C-style techniques.
How much of the STL should I know?
Know vector, string, map, unordered_map and set well, including insertion, lookup and iteration. A few algorithms such as sort and find are also worth knowing.