HP Inc. (HPQ.N) surpassed Wall Street forecasts for second-quarter revenue, suggesting a revival in the personal computer (PC) market as…