what is Storage Classes in C Language?

A storage class defines the scope (visibility) and life-time of variables and/or functions within a C Program. They precede the type that they modify. We have four different storage classes in a C program.

  • auto
  • register
  • static
  • extern

  • The auto Storage Class :-

    The auto storage class is the default storage class for all local variables.

    {
    int mount;
    auto int month;
    }





    Previous Next

    Trending Tutorials




    Review & Rating

    0.0 / 5

    0 Review

    5
    (0)

    4
    (0)

    3
    (0)

    2
    (0)

    1
    (0)

    Write Review Here