Both benchmark indices, the Sensex and the Nifty, posted sharp gains -- reflecting positive sentiment across Dalal Street.