What is datatype that occupies least storage space in c?
Answers
Answered by
1
The C standard provides that a float has to be able to represent at least six significant figures and allow a range of at least 10–37 to 10+37.
The first requirement means, for example, that a float has to represent accurately at least the first six digits in a number such as 33.333333.
Answered by
3
There are different data types in C associated to each variable and occupies different amount of memory.
The char data type is used to store a single character and is the most basic data type in C.
It requires only one byte of memory for storage and can contain both positive and negative values.
Similar questions