

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
The register storage class in C++
In C, the register storage class specifier indicates to the compiler that the object should be stored in a machine register. The register storage class specifier is typically specified for heavily used variables, such as a loop control variable, in the hopes of enhancing performance by minimizing access time. However, the compiler is not required to honor this request. Because of the limited size and number of registers available on most systems, few variables can actually be put in registers.
In C++ it is simply an unused reserved keyword, but it's reasonable to assume that it was kept for syntactical compatibility with C code.
- Related Questions & Answers
- What is a register storage class in C language?
- The auto storage class in C++
- The static storage class in C++
- The extern storage class in C++
- The mutable storage class in C++
- What is an auto storage class in C language?
- What is a static storage class in C language?
- What is an extern storage class in C language?
- Slave register in 8259
- What is the CPU control register?
- 8085 program to access and exchange the content of Flag register with register B
- Volatile Storage vs Non-Volatile Storage
- In-service register in 8259
- Flags register in 8085 Microprocessor
- Interrupt request register in 8259
Advertisements