Friday, March 20, 2015

storage classes

The different storage classes in c are
auto...... the variables declared as auto can be used only in the function it defined others cant access it
static......the variables declared as static can be used even after the control is transfer to the other function
extern.... it is globally known to all
register..it is stored in register 

No comments:

Post a Comment