what is the difference between implicit tyoe conversion and explict
Answers
Answered by
2
Answer:
Type conversion takes two forms:
Implicit conversion
Explicit conversion
Explanation:
Implicit conversion:
Implicit casting doesn't require a casting operator. This casting is normally used when converting data from smaller integral types to larger or derived types to the base type.
Explicit conversion:
Explicit casting requires a casting operator. This casting is normally used when converting a double to int or a base type to a derived type.
Similar questions