British Prime Minister David Cameron visited Queen Elizabeth II on Wednesday to tender his formal resignation, after stepping down in the wake of the seismic vote to leave the European Union.