Which of the following statements about global variables is true? 1.A global variable is accessible only to the main function. 2.A global variable is declared in the highest-level block in which it is used. 3.A global variable can have the same name as a variable that is declared locally within a function. 4.If a function contains a local variable with the same name as a global variable, the global variable's name takes precedence within the function.