Typecasting allows us to convert one data type into other. In C language, we use cast operator for typecasting which is denoted by (type).
Syntax:
Without Type Casting:
With Type Casting:
Let's see a simple example to cast int value into the float.
Output:
f : 2.250000