Computer Science, asked by jyoti2809, 1 year ago

What is meant by type conversion? Explain its types with examples.

Answers

Answered by sshrine11
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 arpanashah1982
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