Home / Questions / What are register variables? What are the advantages of using register variables?
Explanatory Question

What are register variables? What are the advantages of using register variables?

👁 1,974 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

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.