Skip to Main Content
Computer Hope
  • Help
  • Tips
  • Dictionary
  • History
  • Forums
  • Contact
  1. Home
  2. Dictionary
  3. C - Definitions

Closure

Updated: 06/22/2024 by Computer Hope
Binary code with a superimposed jagged arrow pointing up and to the right

A closure is a programming technique that allows variables outside of the scope of a function to be accessed. Usually, a closure is created when a function is defined in another function, allowing the inner function to access variables in the outer one.

Related information

  • How to create a computer program.
  • JavaScript closures.
  • PHP inner functions and closures.
  • Code rant: what is a closure?

End, Programming terms, Resolution, Termination

  • Was this page useful?YesNo
    • Feedback
    • E-mail
    • Share
    • Print
    1. Recently added pages
    2. What to Do if You're a Victim of Identity Theft.
    3. What Are the Differences Between USB-C and Thunderbolt?
    4. What is a Bad Actor?
    5. How to Switch Windows Out of S Mode
    6. How to Move the Start Button and Menu in Windows 11.
    7. View all recent updates
    1. Useful links
    2. About Computer Hope
    3. Site Map
    4. Forum
    5. Contact Us
    6. How to Help
    7. Top 10 pages
    1. Follow us
    2. Facebook
    3. YouTube
    4. RSS
Computer Hope home page© 2024 Computer Hope
Legal Disclaimer - Privacy Statement
Back to Top