Computer Science, asked by sabarno501, 1 year ago

Is there any difference between type conversion and type casting? If yes, what is it?

Answers

Answered by harpreet700
1
The two terms “type casting” and “type conversion” occur when there is a need to convert one data type to another. When the two types are compatible with each other, then the conversion of one type to other is done automatically by the compiler. However there is a basic difference between type conversion and type casting i.e. type conversion is done “automatically” by compiler whereas, type casting is to be “explicitly done” by the programmer.

sabarno501: Thank you soo much
Similar questions