Expressions with Explicit Type Conversions
C++ provides implicit type conversion, as described in Standard Conversions. You can also specify explicit type conversions when you need more precise control of the conversions applied.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
C++ provides implicit type conversion, as described in Standard Conversions. You can also specify explicit type conversions when you need more precise control of the conversions applied.