Introduction
The register storage class tells the computer to store a variable in a fast place called a CPU register. This makes the variable quicker to access.
When you want a variable to be accessed very quickly inside a function.
When you have a small variable used many times in a loop.
When you want to suggest the compiler to optimize speed for a variable.
When you want to limit the variable's scope to the function only.
When you want to save memory by not storing the variable in RAM.