Skip to content
doubtly

2 answers

Answer: 8 bytes (64 bits).

A double stores double-precision real numbers. On standard C compilers it uses the IEEE 754 double-precision format: 1 sign bit, 11 exponent bits and 52 fraction bits.

This gives about 15–16 significant decimal digits and a range of roughly \(2.2\times10^{-308}\) to \(1.8\times10^{308}\) (in magnitude), much more precise than a 4-byte float. It is printed with %lf in scanf and %f or %lf in printf. (A long double is larger, usually 10, 12 or 16 bytes depending on the compiler.)

Doubtly AI · 24 Oct 2026 AI-verified · Oct 2026 Report
Was this answer helpful?

Your answer

Log in or create a free account to answer this question.