The correct answer is D. President.
The President of India is the Supreme Commander of the Armed Forces of India. The President is the head of state and the commander-in-chief of the Indian Armed Forces. The President is also the supreme commander of the Indian Coast Guard. The President is responsible for the defence of India and for the conduct of all military operations. The President is also responsible for the appointment of the Chief of Defence Staff, the Chiefs of Staff of the three Armed Forces, and the heads of the Indian Coast Guard.
The Defence Minister is the head of the Ministry of Defence and is responsible for the administration and management of the Armed Forces. The Defence Minister is also responsible for the formulation of defence policy and for the allocation of resources to the Armed Forces.
The Prime Minister is the head of the government and is responsible for the overall direction and management of the country. The Prime Minister is also responsible for the formulation of national policy and for the allocation of resources to all sectors of the economy.
The senior of all three forces is the Chief of Defence Staff. The Chief of Defence Staff is the principal military adviser to the President and the Prime Minister on all matters relating to the Armed Forces. The Chief of Defence Staff is also responsible for the integration of the three Armed Forces and for the coordination of their operations.
I hope this helps! Let me know if you have any other questions.