The correct option is D 542
Total 542 members of Lok Sabha were eligible to vote in the Presidential election held on 19 July 2012. The President is elected by an electoral college consisting of the elected members of both houses of parliamnet, the elected members of the Legislative assemblies of the 29 states and the elected members of the Legislative assemblies of the Union Territories of Delhi and Puducherry.