It is a way to convert constant from one type to another type. If there is a value of float data type then you can typecast it into other data types.
There are two types of typecasting in C:
* Implicit conversion
* Explicit conversion
Example :
#include <stdio.h>
main() {
int sum = 17, count = 5;
double mean;
mean = (double) sum / count;
printf(“Value of mean : %f\n”, mean );
}