Multiple choice technology programming languages

Which datatype can store decimal numbers?

  1. unsigned int

  2. char

  3. Float

  4. None of the Above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The float data type is used in C/C++ to store single-precision floating-point (decimal) numbers. unsigned int stores non-negative integers, and char stores single characters or small integers.