ProAnswers.org

types of scopes in c ?

Meaning of scope is to check either variable is alive or dead.

There are four type of scope in c:

  1. Block scope.
  2. Function scope.
  3. File scope.
  4. Program scope.