单项选择题

A ship is side to be()when the bow and stern rise and fall with the oncoming waves.

A.rolling
B.pitching
C.heaving
D.swaying