Drivers of motor vehicles must yield to a pedestrian:

Slow down or stop at an intersection to yield right-of-way to a pedestrian who is crossing or is about to cross within a marked or unmarked crosswalk. Additionally, be alert for pedestrians who are unexpectedly crossing the street in front of you.
DMV Writen Test