The question needs the Prime Minister in office when the 42nd Amendment Act, which reshaped several parts of the Constitution, was passed.
So option C is correct: Indira Gandhi was Prime Minister when the 42nd Amendment Bill was passed.
Let's summarize:
Tying this amendment to the Emergency years makes the Prime Minister easy to recall.