Walmart raised its annual sales and profit forecast for the third consecutive time on Tuesday after reporting strong third-quarter results in a sign that the world's largest retailer continues to gain market share ahead of the holiday season.