Q:

What would happen if we did not initialize the scores array in the program on page 116

0

What would happen if we did not initialize the scores array in the program on page 116?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

If the `scores` array was defined inside a function, then the value of each element is undefined. If the `scores` array was defined outside any function, then the value of each element is 0.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now