1. |
Explicit cast conversion is necessary: |
|
A. |
anytime an int needs to be converted to a double |
|
B. |
anytime any native type needs to be converted to another native type |
|
C. |
anytime a user-defined type is used as an argument to a function |
|
D. |
when the implicit conversion is not desired or expression is illegal otherwise
|
|
The correct answer is D.
Explicit cast conversion should rarely be used, however.
|