if there is 24cm3 then what is the volume?

24 cm^3 is a volume

If you mean you have a cube 24 cm on side, then the volume is 24^3 cm^3