Section 24 in the Indian Contract Act, 1872. Agreements void, if considerations and objects unlawful in part.-If any part of a single consideration for one or more objects, or any one or any part of any one of several considerations for a single object, is unlawful, the agreement is void.