The Indian stock market ended flat on Tuesday as selling was seen in the auto sector.