Multiple choice Which of the following statements is correct? Local variables are declared inside a function and accessible within the function only. Global variables are declared in a separate file and accessible from any program. Global variables are declared inside a function and accessible from anywhere in the program. Local variables are declared in the main body only and accessible from functions only. Global variables are declared inside a function and accessible inside the function only. Reveal answer Fill a bubble to check yourself A Correct answer Explanation Local variables are C program variables and hold scope inside a function only. Global variables hold scope for an entire program.