1.

Which among the following are the correct representation of “float(4,2)”?(a) 24.33(b) 124.4(c) 12.123(d) Both 24.33 and 124.4

Answer» Correct answer is (d) Both 24.33 and 124.4

To explain I would say: Float(4,2) allowed at most 2 digit at right of the decimal and left of the decimal.


Discussion

No Comment Found