Question: How are static functions different from global functions?
- Static functions must be declared in advance of being defined.
- Static functions must be declared is a separate header file.
- Static functions always return the same value.
- Static functions can be accessed only in the file where they are declared.
Answer: The correct answer of the above question is Option D:Static functions can be accessed only in the file where they are declared.