2. What is meant by a global variable?
A variable that is returned from a function to the main program
A variable that can only be accessed inside the subprogram where it is created
A variable that has been passed into a subprogram as a parameter
A variable that can be accessed anywhere in a program