Type conversion refers to the process of converting a value from one data type to another. There are two types of type conversion:
Implicit Conversion: Also known as automatic conversion, it occurs when the compiler automatically converts one data type into another without the user's intervention. This type of conversion is safe and does not result in data loss.
Explicit Conversion: Also known as type casting, it is when the user explicitly converts one data type into another using casting operators. This can lead to data loss if the conversion is not compatible.
First read the answer fully, then try to explain it in your own words. After that, open a few related questions and compare the concepts. This method helps you remember the topic for a longer time and improves exam preparation.