Computer Science, asked by pappulakoushik9829, 1 year ago

Which data type occupies most amount of memory in c?

Answers

Answered by aarushi2641007
4

Answer:

what is c here??? can u tell us???

Answered by smartbrainz
11

Long double data type occupies the most amount of memory in C.

Explanation:

The following are some of very basic data types available in C:

  • The data type "char" store a single character and occupies a single byte of memory.
  • The data type "int" store an integer and occupies 2 to 8 byte of memory.
  • The data type "float" store decimal numbers with single precision and occupies 4 bytes of memory.
  • The data type "double" store decimal numbers with double precision and occupies 8 to 12 byte of memory.
  • The data type Long double occupies 12 bytes of memory in the system.

Similar questions