Question: 25
Which of the following are good examples of things that should be stored as global variables?
I- The parameter e to a callback function
II - The ball in the game the user is playing
III-A counter keeping track of how many times the user has pressed the spacebar
IV-A for loop counter
V - The color of a rectangle that is only used in one function
II, III, and V
I, IV, and V
II and III
I, II, and III



Answer :

Other Questions