The Prince and Princess of Wales attended the ceremonial welcome for the president of the Federal Republic of Nigeria.