10.6 — Explicit type conversion (casting) and static_cast
In lesson , we discussed that the compiler can implicitly convert a value from one data type to another through a system called implicit type conversion. When you want to numerically promote a value from one data type to a wider data type, using implicit type conversion is fine. Many …