What is meant by type conversion? Explain its types with examples.
Answers
Answered by
10
In computer science, type conversion or typecasting refers to changing an entity of one datatype into another. There are two types of conversion: implicit and explicit. The term for implicit type conversion is coercion. Explicit type conversion in some specific way is known as casting. Explicit type conversion can also be achieved with separately defined conversion routines such as an overloaded object constructor.
Answered by
3
In a mixed expressions, the results can be obtained in any one form of data type. Hence, it is needed to convert the various data types into a single type. Such conversion is termed as TYPE CONVERSION.
Similar questions
Geography,
8 months ago
English,
8 months ago
Math,
8 months ago
Social Sciences,
1 year ago
Social Sciences,
1 year ago