1.

Define Register Variables. What Are The Advantages Of Using Register Variables?

Answer»
  • The variables of 'register' TYPE MODIFIER inform the compiler for storing the variables in a register of the CPU.
  • These variables are stored in the registers, so the speed of processing is become more than the normal variables.

Advantages of Register variable:

  • ACCESS optimization and speed of program execution: The operations of these variables are faster by orders of magnitude.
  • It is useful when you want to refer a variable frequently.
  • It ALLOCATES FAST memory in the form of a register.
  • It helps to speed up program execution.

Advantages of Register variable:



Discussion

No Comment Found