Multiple Choice
Which of the following statements about global variables is true?
A) A global variable is accessible only to the main function.
B) A global variable is declared in the highest-level block in which it is used.
C) A global variable can have the same name as a variable that is declared locally within a function.
D) 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.
E) All of these are true.
Correct Answer:

Verified
Correct Answer:
Verified
Q5: This statement causes a function to end.<br>A)
Q15: A function can have zero to many
Q16: A static variable that is defined within
Q17: This function causes a program to terminate,
Q18: The value in a _ variable persists
Q21: What is the output of the following
Q22: EXIT_FAILURE and _ are named constants that
Q24: Functions are ideal for use in menu-driven
Q25: Given the following function definition: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB2965/.jpg"
Q27: Global variables are initialized to zero by