You create a Web page that contains the following image element.
<img id="myImage" src="/image1.png" />
You need to write a JavaScript function that will dynamically change which image is displayed. Which code segment should you use?
A.
B.
C.
D.