China's consumer prices rose for a third straight month in April, while producer prices extended declines, signalling an improvement in domestic demand, as Beijing navigates challenges in its bid to shore up a shaky economy.