The correct option is C is expressly declared as void
Section 26 of the Indian Contract Act, 1872 states that any agreement in restraint of marriage is expressly void except that which involves marriage of minors. It is underlined on the rationale that right to personal liberty of a person in terms of marrying as per their choice cannot be violated by a contractual relationship. Such contracts are regarded as forbidden and opposed to public policy.