Quiz 6b - Conversions
do you need to pay attention?
1. What would the value of i be: int i = (double)(9);
2. True or false: widening conversions are much safer than narrowing conversions because they do not lose data.
3. True or false: narrowing conversions can only happen by casting.
4. What would the following expression be equal to: (int)(9/2*2.0);
none of the above