What is the correct unit for the following measurement?

James measures the density of his rocks.

Celsius (°C)

liters (L)

meters (m)

grams (g)

cubic centimeters (cm3)

gm/cm3

The correct unit for measuring the density of rocks is grams per cubic centimeter (g/cm3).

The correct unit for measuring the density of James's rocks is grams per cubic centimeter (gm/cm3).