[单选题]
The volume of the Earth is approxi:nekchsx 9i7 8mat;e6xmx1o :rr0fj h0 oh o79gacely $10^{12} \mathrm{~km}^3$ and the volume of a grain of sand is approximately $1 \mathrm{~mm}^3$. To the nearest order of magnitude, if the Earth was hollow, how many grains of sand could it contain?
A. $10^{12}$
B. $10^{18}$
C. $10^{24}$
D. $10^{30}$