How the processor registers can be used in C ?

Answer Posted / chetan raikwar

CPU (Processor) registers store the values which can be accessed faster than other ordinary values.
* These can be used by the keyword register.
* Keyword should be place before declaring the type of variable.
example:- (simple storage) int i; char a; etc.
(registered storage) register int i; register char a;

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 clrscr ()?

645


if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0

1459


Why do we use static in c?

637


What is a stream in c programming?

598


Explain union.

641






formula to convert 2500mmh2o into m3/hr

505


hi send me sample aptitude papers of cts?

1661


Explain the binary height balanced tree?

730


What would be an example of a structure analogous to structure c?

580


Why is #define used?

796


If I have a char * variable pointing to the name of a function ..

662


How can I sort a linked list?

641


How is actual parameter different from the formal parameter?

596


Explain how do you override a defined macro?

594


How can I make sure that my program is the only one accessing a file?

687