Tuesday, February 8, 2011

register storage class in c




Register
storage class specifiers
in c with example



A register storage class is very similar to auto storage class except one most important property. All register variable in c stores in CPU not in the memory.



Important points about register storage class



(1)In following declaration:



register int a;



We are only requesting not forcing to compiler to store variable a in CPU.

No comments:

Post a Comment