What are the four C++ named casts?
C++ provides static_cast (compile-time, related-type conversions), dynamic_cast (safe downcasting in polymorphic hierarchies, checked at runtime)…
28 key C++ questions with one-line answers, covering 14 topics, on a printable sheet. Read it the night before, or pin it next to your screen.
C++ provides static_cast (compile-time, related-type conversions), dynamic_cast (safe downcasting in polymorphic hierarchies, checked at runtime)…
static_cast performs well-defined conversions known at compile time: numeric conversions (int to double), converting between related pointer types in…
Building involves: preprocessing (handling #include/#define to produce a translation unit), compilation (translating each translation unit to an…
A translation unit is a single source file after preprocessing—the .cpp file with all its #included headers textually expanded.
The full sheet has 28 questions. Sign in (free) to open it and save it as a PDF.