Stocks are closing higher as food and tech companies climb, the AP reports. Oreo cookie maker Mondelez jumped 5.7% Tuesday after a strong quarterly report, and Pop Tarts maker Kellogg leaped 6.1%. Apple rose 1.4% to another record high and chipmaker Micron Technology added 6.4%. Industrial company Rockwell Automation jumped 7.4% after it said it rejected takeover offers. Under Armour plummeted 23.7% after the sportswear maker again cut its profit outlook. The S&P 500 index rose 2 points, or 0.1%, to 2,575, completing its seventh consecutive monthly gain. The Dow Jones industrial average rose 29 points, or 0.1%, to 23,377. The Nasdaq composite rose 29 points, or 0.4%, to a record 6,727. (More stock market stories.)