Which of the following data types can store a non-integer number? 

  • char 
  • float 
  • int 
  • short
In C++, the float data type is used to store single-precision floating-point numbers, which can represent non-integer values (like 3.14). It provides a way to store decimal numbers with a floating decimal point.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *