The correct answer is:
d. It changes both the direction and the speed of the ball.
When a tennis player swings the racket and impacts the ball, the force exerted by the racket changes the ball's speed (typically increasing it when hitting the ball) and also alters its direction depending on the angle of the racket at the moment of impact.