adspace


Explain the register storage classes in c++.

Answer Posted / Mirza Kashif Beg

"The 'register' keyword in C++ is a hint to the compiler that a variable should be stored in a register instead of memory. This results in faster access times but has limited storage space available on registers. However, the compiler decides whether to use the register or not based on its own optimization strategies"

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the latest version on c++?

1207


Can union be self referenced?

1267


What character terminates all character array strings a) b) . c) END

1395


daily Routine of father

1485


How c functions prevents rework and therefore saves the programers time as wel as length of the code ?

1165