A man of mass m slides down along a rope which is connected to the ceiling of an elevator with deceleration a relative to the rope. If the elevator is going upward with an acceleration a relative to the ground, then tension in the rope is
a. mg
b. m(g+2a)
c. m(g+a)
d. zero