The correct option is B Chief Justice of India
When the office of President falls vacant due to his resignation, removal, death or otherwise, the Vice-president acts as the President until the new President is elected. If the office of Vice- President is vacant, the Chief Justice of India acts as the President and discharges the Function of President.