[单选题]
The volume of the Earth is ap8 wyoqlo g,1 n5qy6ul(protz:tyzrv -(k-4 d kaa9ximately $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}$