HP Inc.'s HPQ, -0.74% PC sales and market share increased in the first quarter of 2018 while Apple Inc.'s AAPL, -0.47% declined as overall industry sales were flat from the year-ago quarter, according to data from International Data Corp. late Wednesday. In results that IDC said "exceeded expectations," PC sales were flat from the year-ago quarter at 60.4 million units shipped. Compared with the year-ago quarter, HP saw 4.3% growth to 13.7 million units, while Apple shipments declined 4.8% to 4 million units. Also, HP's share of the PC market increased to 22.6% from 21.7% in the year-ago period, while Apple's share declined to 6.6% from 7% in the year-ago period. The largest percentage growth in units shipped came from Dell Inc., which saw a 6.4% increase in units shipped to 10.2 million.