Question: what is the difference between type casting and type conversion?
Answer: The basic difference between type conversion and type casting, i.e. type conversion is made “automatically” by compiler whereas, type casting is to be “explicitly done” by the programmer. ... When the two types are compatible with each other, then the conversion of one type to other is done automatically by the compiler.