The correct option is D Chief Justice of India
As per the President (Discharge of Functions) Act, 1969, In the event of the occurrence of vacancies in the offices of the President and the Vice-President, by reason of death, registration or removal, or otherwise, the Chief Justice of India or, in his absence, the senior most judge of the Supreme Court of India available shall discharge the functions of the President.