Tell me what is the purpose of "register" keyword in C Language?
Submitted by: AdministratorThe keyword ‘register' instructs the compiler to persist the variable that is being declared , in a CPU register.
Ex: register int number;
The persistence of register variables in CPU register is to optimize the access. Even the optimization is turned off; the register variables are forced to store in CPU register.
Submitted by: Administrator
Ex: register int number;
The persistence of register variables in CPU register is to optimize the access. Even the optimization is turned off; the register variables are forced to store in CPU register.
Submitted by: Administrator
Read Online C Functions Job Interview Questions And Answers
Top C Functions Questions
☺ | What is self-referential structure in C Programming? |
☺ | Tell me what is NULL pointer in C? |
☺ | What is C Programming structure? |
☺ | Tell me what is the purpose of "register" keyword in C Language? |
☺ | What is function prototype in C Language? |
Top C Programming Categories
☺ | C Functions Interview Questions. |
☺ | C Pointers Interview Questions. |
☺ | C Preprocessor Interview Questions. |