What are register variables? What are the advantages of using register variables?
Question :
What are register variables? What are the advantages of using register variables?
If a variable is declared with a register storage class,it is known as register variable.The register variable is stored in the cpu register instead of main memory.Frequently used variables are declared as register variable as it‘s access time is faster.
Similar Questions
What is storage class? What are the different storage classes in C?
What is the use of typedef?
What are register variables? What are the advantages of using register variables?
Describe about storage allocation and scope of global, extern, static, local and register variables?
Where does global, static, and local, register variables, free memory and C Program instructions get stored?
Where is the auto variables stored?
What is static identifier?
What are macros? What are its advantages and disadvantages?
What does static variable mean?