To find volume $ V $ use formula:
$$ V = \dfrac{ a ^{ 2 } \cdot h }{ 3 } $$After substituting $a = 16\, \text{cm}$ and $h = 24\, \text{cm}$ we have:
$$ V = \dfrac{ 256\, \text{cm}^2 \cdot 24\, \text{cm} }{ 3 }$$$$ V = \dfrac{ 6144\, \text{cm}^3 }{ 3 } $$$$ V = 2048\, \text{cm}^3 $$