Which of the following statements is true about global variables?
They are only accessible inside one function
Their lifetime ends after the function ends
They are declared inside main()
They are accessible throughout the program
This question is part of this quiz :
Variables in C Programming