Sunday, October 3, 2010

storage class in c

storage class contains five types of storage class in c .

I. Extern

II. Static

III. Register

IV. Auto

V. typedef

1 comment:

  1. typedef is not a storage class. Typedef is an like alias for something.

    You can do:

    typedef int age;

    which is like creating an alias for "int" as "age" then you can say in your program

    age myage;
    age friends_age;
    age average_age;
    age dads_age;

    Just read it a couple of times and you will get it.

    ReplyDelete