Everything About ___
Live briefing

Everything about External variable

Variable defined outside any function block in C programming

In the C programming language, and its predecessor B, an external variable is a variable defined outside any function block. On the other hand, a local (automatic) variable is a variable defined inside a function block.As an alternative to automatic variables, it is possible to define variables that are external to all functions, that is, variables that can be accessed by name by any function. Because external variables are globally accessible, they can be used instead of argument lists to communicate data between functions. Furthermore, because external variables remain in existence permanently, rather than appearing and disappearing as functions are called and exited, they retain their values even after the functions that set them have returned. Wikipedia →

🧭 Start here: a 6-step reading path

  1. Read the overview: External variableA 5-minute orientation
  2. Skim a recent paper: Variable Time Headway Policy Based Platoon Control for Heterogeneous Connected Vehicles With External DisturbancesInfluential work since 2022
  3. Pick up a classic book: The C Programming LanguageThe most-reprinted book on the subject
  4. Read the landmark paper: Internal versus external control of reinforcement: A case history of a variable.Cited 723 times
  5. Go sideways: Global variableA closely related topic
  6. Go sideways: Linkage (software)A closely related topic

📖 Definitions

No dictionary entry for this exact phrase.

🏆 Landmark papers (most cited)

🆕 Influential since 2022

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

🔗 Related topics