In the following code:
Which of the following statements are true about ball
?
I – ball
is a local variable
II – the ball
variable in draw
is different from the ball
variable in main
III – ball
is a global variable
IV – ball
’s scope includes both main
and draw