What would happen to the planets in the solar system if the sun’s gravitational force were to suddenly disappear?

AThey will stop spinning.
BThey will fly away in straight lines.
CThey will start moving toward the Sun.
DThey will stop moving and become static.