IBM reported second-quarter earnings Wednesday that exceeded analyst expectations, while revenue came in short of forecasts.

The world's largest technology services company also raised its full-year outlook.