Type Conversions
Type conversion is the process of converting data from one type to another.
- implicit type conversion: done by complier without explicitly asking it.
- static cast:
static_cast<newType>(expression)
Type conversion is the process of converting data from one type to another.
static_cast<newType>(expression)