Do you know the purpose of "register" keyword?
Submitted by: MuhammadIt is used to make the computation faster.
The register keyword tells the compiler to store the variable onto the CPU register if space on the register is available. However, this is a very old technique. Todays processors are smart enough to assign the registers themselves and hence using the register keyword can actually slowdown the operations if the usage is incorrect.
Submitted by: Muhammad
The register keyword tells the compiler to store the variable onto the CPU register if space on the register is available. However, this is a very old technique. Todays processors are smart enough to assign the registers themselves and hence using the register keyword can actually slowdown the operations if the usage is incorrect.
Submitted by: Muhammad
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. |