C – External

C – External 2017-07-20T00:40:25+00:00

External Storage class :

External variables are global to the file in which they are defined. External variables are used only when all functions needed a particular variable. It retains the assigned value within the scope. In the following program variable  i is an external variable.

C – EXTERNAL STORAGE CLASS EXAMPLE ROGRAM :

Output :

Values of i=1

incrementing, i=2

incrementing, i=3

decrementing, i=2

decrementing, i=1

Prev Next