cast is a unary operator used to make an expression to a specific type. General form:
Use of cast in a C program to find fractional part of a division:
void main ()
for(a=1; a<=25; ++a)
printf(“%d / 4 is: %f\n”, a, (float) a /4);
Here cast (float) is used for displaying of fractional part of the division.