The correct option is B In both the situations
Any contract depending upon the possibility of the event prescribed is valid unless the event is impossible or if the contract is contingent on happening of an uncertain event which is wagering contract void under section 30 of the Contract Act, 1872. In the aforementioned both the cases the contract becomes void in nature.