📄️ Fundamental Types
C++ provides built-in fundamental types for integers, floating-point numbers, characters, and booleans.
📄️ const & volatile
CV-qualifiers (const and volatile) modify type behavior. const prevents modification; volatile prevents compiler optimization.
📄️ Signedness
Integer types can be signed (negative and positive) or unsigned (only positive). Understanding signedness prevents bugs and overflow issues.
🗃️ Type deduction
3 items
🗃️ Value categories
3 items
📄️ Conversions
C++ performs automatic (implicit) and manual (explicit) type conversions. Understanding these prevents bugs and data loss.
📄️ Alignment
Alignment ensures data is placed at memory addresses divisible by its size, improving CPU access speed. Padding fills gaps to maintain alignment.