In which of the following conditions, MTP is performed legally?
a. To get rid of unwanted pregnancy due to casual unprotected intercourse.
b. To get rid of unwanted pregnancy due to failure of the contraceptive used during coitus or rapes.
c. Where the continuation of the pregnancy could be harmful or even fatal to the mother or to the foetus or both.
d. To get rid of pregnancy as the foetus is found to be female.