Declaring a variable register is a suggestion to the compiler that particular automatic variable should be allocated to CPU register, if possible.
But how the compiler decides when to put the register variable to CPU register? Which algorithm/mechanism it uses to decide?
Thanks,
Naveen