Explicit/Type
Casting
Is
done with the help of cast operator
Cast
operator is a unary operator that is used for converting an expression to a
particular data type
Syntax:
(datatype)
expression
Ex:
int x,y;
float x=(float)x/y;
Types
of Operations
No comments:
Post a Comment