Contesting legitimacy by person entitled to inherit
45.-(1) If the husband dies before the lapse of the period prescribed for contesting the legitimacy of the child or if he has become mentally afflicted or where his place of abode is unkown or is impossible for any other reason to inform him of the birth of the child, then and in every such case, any person entitled to inherit next or jointly with the child can contest the legitimacy within one month after the birth comes to his knowledge.
(2) Where a child is conceived before the solemnization of the marriage, its legitimacy can be contested as in subsection (1) provided, if it is proved that the husband could not possibly be its father even if the husband has acknowledged the child as his own.