Equity benchmark indices swung between gains and losses but ended flat as the year-end trading wound up on Thursday. Foreign inflows remained dull and banking stocks witnessed muted movements. The BSE S-P Sensex closed 5 points or 0.01 per cent at 47,751 while the Nifty 50 remained virtually unmoved from its previous close at 13,982. Sectoral indices at the National Stock Exchange were mixed with Nifty pharma and metal moving up by 0.7 per cent each. Nifty realty gained by 1.2 per cent but Nifty FMCG lost by 0.4 per cent and IT by 0.3 per cent. Among stocks, Bharti Airtel fell by 1.3 per cent to Rs 509.50 per share after Reliance Jio Infocomm said it will make domestic calls free from January 1 as interconnect usage charges on such services end.