The correct answer is C. The 42nd Amendment Act, 1976.

The 42nd Amendment Act, 1976, was the most controversial amendment to the Indian Constitution. It was passed during the Emergency, when Indira Gandhi was the Prime Minister of India. The amendment made a number of changes to the Constitution, including changes to the Preamble. The Preamble to the Indian Constitution is the introductory statement of the Constitution. It sets out the aims and objectives of the Constitution. The 42nd Amendment Act changed the Preamble to include the words "secular" and "socialist". It also changed the words "unity of the nation" to "unity and integrity of the nation".

The 42nd Amendment Act was widely criticized by opposition parties and civil liberties groups. They argued that the amendment was an attempt by Indira Gandhi to consolidate her power and to weaken the democratic institutions of India. The amendment was also criticized for its impact on the federal system of government in India.

The 42nd Amendment Act was repealed by the 44th Amendment Act, 1978. The 44th Amendment Act restored the Preamble to its original form.

The other options are incorrect. The 3rd Amendment Act, 1975, did not make any changes to the Preamble. The 40th Amendment Act, 1976, made a number of changes to the Constitution, but it did not change the Preamble. The 4th Amendment Act, 1979, also did not make any changes to the Preamble.