What happens to the frequency of the pendulum if it is suspended from the ceiling of the lift moving upward with constant acceleration?

Well it depends on the context of your question. If you're being introduced to General Relativity, then you're just going to assume, in the spirit of the equivalence principle, that gravity and the acceleration cannot be told apart from the pendulum's standpoint, so the acceleration is obviously $a+g$.

If you need to do it from first principles in a Newtonian setting, draw a free body diagram of the bob. First, let's do the unaccelerated pendulum. On the FBD, if you resolve the tension in the thread holding up the bob $(-T\,\sin\theta,\,T\,\cos\theta)$ together with the weight $(0,\,-m\,g)$ into horizontal and vertical components, you get:

$$-T\,\sin\theta = m\,\ddot{x}$$ $$T\,\cos\theta - m\,g = m\,\ddot{y}$$

but now, if you do it again with the bob and thread system accelerating upwards with constant acceleration $a$, then the $y$-component of the acceleration measured relative to the "inertial" (in Newtonian gravity) frame stationary wrt the ground is $\ddot{y}+a$ whilst $\ddot{x}$ is unaffected. So now, put these back into the equations above, and you find you get the same as the first set but with $g$ replaced by $g+a$.

Q. What happens to the frequency of the pendulum if it is suspended from the ceiling of the lift moving up ward with constant acceleration?
Answer: [B] it increases
Notes: If the lift is moving up ward with constant acceleration a then the time period of the pendulum decreases and frequency increases.