On Mon, Feb 26, 2007 at 12:07:37PM -0000, satishgitam wrote:

> where rigister variables can be used?

You can tell a C or C++ compiler to use a CPU register for a particular
variable by using the 'register' keyword, however it is only a
suggestion to the compiler.  There is no guarantee that a CPU will be
used.  You can read the C standard for more about this.

Also, beware of premature optimization.

http://en.wikipedia.org/wiki/Optimization_%28computer_science%29

Reply via email to