How the processor registers can be used in C ?

Answer Posted / anandam niranjan

cpu registers can be accessed faster than varibles in memory.
so we use processor registers to store frequently used variables
and this can be done by using the keyword "register" before
the declaration of variable as its storage class

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 a #include preprocessor?

606


What will be your course of action for a push operation?

658


What is meant by type specifiers?

651


Explain indirection?

635


What is operator precedence?

637






What is calloc in c?

652


Explain is it valid to address one element beyond the end of an array?

724


A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference

623


Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)

600


Explain what’s a signal? Explain what do I use signals for?

604


What is identifier in c?

535


What are local variables c?

539


Can you please explain the difference between strcpy() and memcpy() function?

593


Why pointers are used?

627


What do you mean by dynamic memory allocation in c?

640