The correct option is A Upwards - magnetic force
Downwards - gravitational force
As the car sticks to the electromagnet, magnetic force acts in the upward direction and the weight of the car acts downward. If the net force acting on the car is upwards or zero, the car doesn't fall to the ground.