Visual C++ - Explicit type conversions
By using an explicit conversion, you can specify exactly what type you want to work with. Thanks to this we can overwrite automatic conversion.Visual C++ .NET
Other pieces of example codes:y =(double)(x * y)
y = (short)(x * y)
y = (signed char)(x * y)
y = (long long)(x * y)
y = (unsigned long)(x * y)
z = (int)(x * y)
Explicit type conversions in another programming language: