Select the correct answer.
Jimmy's cedar trunk is in the shape of a rectangular prism and has a volume of a cubic yard. How many cubic blocks with a side length of a yard would Jimmy need to measure the volume of his trunk?
A. 2

B. 3

C. 4

D. 5

E. 6