Millions of voters in Madagascar queued on Wednesday to cast their ballots for a president to tackle unemployment, poverty and corruption on the Indian Ocean island.