US fastfood giant McDonald's has reported second-quarter sales up by 10% to US$4.7bn.