What Is Type Conversion?
Each function can force an expression to be converted to a specific data type. Automatic (implicit) type conversion does not cause data loss. A data type is defined in a data structure as a collection of values and a set of operations defined on the value set. Variables are where values are stored; they have names and data types. The data type of a variable determines how the bits representing these values are stored in the computer's memory. You can also specify its data type when declaring a variable. All variables have a data type to determine what kind of data can be stored.