What is the code to start displaying the time when document loads?
A
onload = displayTime;
B
window. = displayTime;
C
window.onload = displayTime;
D
window.onload = start;
Correct Answer: window.onload = displayTime;
The above code starts displaying the time when the document loads.