The correct option is B President
The Attorney General for India is appointed by the President. He must be a person who is qualified to be appointed a judge of the Supreme Court. In other words, he must be a citizen of India and he must have been a judge of some high court for five years or an advocate of some high court for ten years or an eminent jurist. The term of office of the Attorney General is not fixed by the Constitution. He holds office during the pleasure of the President.