The correct answer is C. Elected by members of the House of Commons. The house of commons is chosen through general voting. When they choose the prime minister, the queen has to approve it but it's not like she would disagree since the queen is just there as a public figure and has to approve it.