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.


Other pieces of example codes:
y = (unsigned short)(x * y)
y =(double)(x * y)
y = (signed char)(x * y)
y = (short)(x * y)
(float)27 / 3
z = (long)(x * y)
Languages: en hu cz sk