Which statement describes global variables in programming languages?

IT Exam Items RepositoryCategory: Introduction to IoTWhich statement describes global variables in programming languages?

Which statement describes global variables in programming languages?

  • They can be used within any function of a program.
  • They are declared within a function.
  • They cannot be used within any functions in a program.
  • They can only be used within the function they are declared.

Related exam: Introduction to IoT Final Exam Answers