title: Concept of register variables(datatype:register) in C language?
body: <p>I just to want to get an idea about how the register variables are handled in C program executables. ie in which location(or register) it exactly get stored in case of an embedded system and in a X86 machine(C program executable in a desktop PC)?</p>
  
  <p>What about this view? (correct me if am wrong)</p>
  
  <p>Suppose we have declared/initialized one variable inside a function as 'int' datatype. Normally it will go to the stack segment and it will be there in that section only at run time ,when the caller calls the callee containing  the local variable. But if we declare above local variable as 'register int' then also it'll go to the stack segment. But on run time , the processor  put that local variable from stack to its general purpose register locations(because of extra compiler inserted code due to 'register' keyword) and a fast access of the same from there. </p>
  
  <p>That is the only difference between them is at run time access and there is no memory loading differences between them. </p>
  
  <p>__Kanu </p>