Define Explicit type conversion with an example.
1 Like
In explicit type conversion, the data gets converted to a type as specified by the programmer. For example:
int a = 10; double b = 25.5; float c = (float)(a + b);
Answered By
What do you understand by type conversion?
Explain the need to use suffix L in a long type data.
Differentiate single precision and double precision data value.
Define Implicit type conversion with an example.