External variable

Published: 20 December 2015
on channel: Audiopedia
519
4

In the C programming language, an external variable is a variable defined outside any function block. On the other hand, a local 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.


This video is targeted to blind users.

Attribution:
Article text available under CC-BY-SA
Creative Commons image source in video


On this page of the site you can watch the video online External variable with a duration of hours minute second in good quality, which was uploaded by the user Audiopedia 20 December 2015, share the link with friends and acquaintances, this video has already been watched 519 times on youtube and it was liked by 4 viewers. Enjoy your viewing!