South Africa emerged from its first recession in almost a decade in the third quarter as recoveries in manufacturing and agriculture contributed to an increase in economic growth.