U.S. stocks closed lower on Friday after disappointing results from bellwethers including Exxon and Intel as well as GDP data that came in slightly below lofty growth expectations weighed on sentiment. The S&P 500 and Dow industrials booked weekly gains, but sharp losses in the tech sector left the Nasdaq Composite lower for the week. The S&P 500 fell 18.62 points, or 0.7%, to 2,818.82 with the technology sector leading losses, down 2%. Over the week, the index was up 0.6%. The Nasdaq Composite Index declined 114.77 points, or 1.5%, to 7,837.42, booking a 1.1% loss over the week. The Dow Jones Industrial Average ended 76.01 points, or 0.3%, lower at 25,451.06. The blue-chip index gained 1.6% over the week. Among the biggest decliners on the S&P 500, shares of Twitter Inc. slumped 20.5% after it reported second-quarter results that came below expectations.