[单选题]
The volume of the Earth is appmbfk -x.h3:fua8x )z aroximatelyf;6oyfp4zu0i +v -tfk $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}$