Computer Science, asked by gaurav203, 1 year ago

what do you understand by explicit conversion

Answers

Answered by HARSHITA139
0
Explicit conversion do require cast operator to perform conversion.

data loss may or may not be take place during data conversion. Hence there is a risk of information loss.

It might throw error if tried to do without type casting.

Conversion of larger number to smaller number is explicit conversion.float k=123.456
 int i= (int) k

// This is Explicit conversion and (int) is type cast operator. Here we may be able to escape an exception but there is noticeable data loss.i.e.i=123

// .456 is lost during conversion

Answered by Anonymous
2
The process of converting an operand to a particular data type is known as explicit type conversion. It is also known as type casting or you can say user defined type conversion
I hope it will help you
Similar questions