How many bytes in a float?

Answer Wiki. The number of bytes occupied by each floating-point data type is implementation-defined, but you’ll sometimes see float occupying four bytes, double occupying eight bytes, and long double occupying eight or more bytes. In some environments, long double is the same as double, but that’s not always the case.
For More Information Please Refer:
https://www.quora.com/How-many-bytes-of-memory-does-one-character-one-integer-one-number-and-one-floating-point-number-occupy-in-C++
You May Also Like to Read: