7.1 Introduction
A conversion operation alters the value in a variable of one type so that it can be used in a variable of another type. Conversions can be widening or narrowing. A widening conversion always preserves the value of the source variable since the target variable can fully accommodate the range of possible values of the source variable. Thus, this type of conversion always succeeds during program execution because it cannot result in the loss of data. A narrowing conversion, on the other hand, may not preserve the value of the source variable since the ...