How to use this module
C++ interviews follow a stable pattern: a screen on the language and memory (pointers, references, const, RAII, virtual functions), a technical round on modern C++ (move semantics, templates, the STL, concurrency) plus a coding problem, and, for experienced roles, a design conversation about performance, large codebases and production. The 60 questions below are grouped the same way: 25 junior, 25 mid-level, 10 senior.
- Say the answer out loud before opening it. Recognising an answer when you read it is not the same as producing it under pressure.
- Read the "what they are really testing" line. It tells you what the interviewer will follow up on, which is where most candidates lose points.
- Back every claim with code you have compiled. The modules these draw on, such as Memory & Smart Pointers, Classes & Objects and Templates & the STL, have examples you can paste into your editor.
