Topic-6: Data Type , Memory size,Range

Data Type

  1. int
  2. void
  3. char
  4. float
  5. double

Size(Bits)

  1. 2 bytes or 16 bits // 4 bytes or 32 bits
  2. 1 bytes or 8 bits
  3. 1 bytes or 8 bits
  4. 4 bytes or 32 bits // 8 bytes or 64 bits
  5. 8 bytes or 64 bits

Ranges

  1. 32768 to 32767 or 2,147,783,648 to 2,147,483,647
  2. Nothing
  3. 128 to 127
  4. 3.4e-38 to 3.4e+39
  5. 1.7e-308 to 1.7e +308

Leave a Comment

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