The correct option is B President
The Prime Minister is appointed by the President. The President cannot act arbitrarily in this appointment. According to convention, the President invites the leader of the majority party or group in the Lok Sabha to form the Government. The members of the majority party or the group elect their leader to be appointed as the Prime Minister. Then the President appoints him as the Prime Minister.