1.

If an expression contains double, int, float, long, then the whole expression will be promoted into which of these data types?(a) long(b) int(c) double(d) float

Answer» Correct choice is (c) double

The explanation: If any operand is double the result of an expression is double.


Discussion

No Comment Found

Related InterviewSolutions