If we declare more number of variables than the registers available on the processor? Where they will be stored.
Answers
Answered by
0
variables are stored in the specific block of memory (if we want to use that variable firstly compiler has to load that variable into the registers )
Answered by
1
In the memory which is known as the register spilling and also it don’t g fit and save to the block of memory on the stack by the major compliers.
On the other hand it is actually make of them and compiler has to load them into the registers and also probably booting the major things ore else out of the memory get stored at the same performance.
Similar questions