Originally posted by William Brogden:
I think they say float or double because double would also work. The result of the expression would be float but that can be cast to double.
Bill
___________________________________________________________
Thanks william, But i think the answer is very unclear.
Becuase , in case i get a problem where the answer is only short(well this is an eg) , then should my reply be short, int, long, float and double just because short can be casted to an int , long , float and double too???
Thanks once again for your attention
Padmini.