Type Casting allows us to convert one data type into another.
In C language, we use cast operator for type casting which is denoted by (type).
Note: It is always recommended to convert lower value to higher for avoiding data loss.
Example to cast int value into float:
int is a C keyword which is used as a variable name.
Char can only store 1 character.Also,only single sided quotes are used to enclose char.
Only single sided quotes are used to enclose char.
One and only one variable can be at the left side of an expression.
It is assumed that arithmetic operator (*) are already present,when they are not.
No spaces are allowed in variable names
(*) is repeated.
There is no exponential operator in C.
(*) is missing.
A single variable cannot store more than one value.
Char can only store a single character.