The driver of a vehicle emerging from an alley, driveway, or building shall stop such vehicle immediately prior to driving onto a sidewalk area extending across any alleyway or driveway, and shall yield the right of way to any pedestrian as may be necessary to avoid collision, and upon entering the public street or highway shall yield the right of way to all vehicles approaching on public street or highway.