CBSE Class 11 Computer Science Question 29 of 173

Data Handling — Question 14

Back to all questions
14
Question

Question 14

Is it safe to directly use the == operator to determine whether objects of type float are equal ?

  1. Yes
  2. No ✓
  3. Yes, if the values are < 100
  4. Yes, if the values are > 100
Answer