0
1.4kviews
What are different Storage Classes in C or Explain the Scope and Life Time of the Variables.
1 Answer
0
13views

A variable in C can have any one of the four storage classes.

  1. Automatic variables.
  2. External variables.
  3. Static variables.
  4. Register variables.

Automatic Variables (Local/Internal)

Automatic variables are declared inside a function in which they are to be utilized. They are created when a function is called and destroyed automatically when …

Create a free account to keep reading this post.

and 3 others joined a min ago.

Please log in to add an answer.