Register Storage Class in Programming

July 19, 2010 No Comments » Hits : 132





Register Storage Class

  1. Register is used to define Local Variable.
  2. Local Variable stored in Register instead of RAM.
  3. As Variable is stored in Register so Maximum size of variable = Maximum Size of Register
  4. Unary Operator [&] is not associated with it because Value is not stored in RAM instead it is stored in Register.
  5. This is generally used for faster access.
  6. Common use is “Counter”
{register int count;}