What is the difference between implicit & explicit type casting? Give one example of each.
Implicit type casting is an automatic type conversion by the complier.
(eg) float f,g; int a;
g = a+f // a transforms to float
Explicit type casting is done by the user.
(eg) g = (double) a+f;