Concept:Gold is a major export earner for South Africa among the listed countries.Explanation:South Africa is one of the world’s leading producers of gold, and gold has historically been a major foreign exchange earner for the country.Nigeria earns mainly from crude oil.Tanzania and Niger are not primarily known for gold as their major foreign exchange earner compared with South Africa.Answer:D. South Africa