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

Explain how can a program be made to print the line number where an error occurs?

682


What is #include called?

561


Explain what is the benefit of using #define to declare a constant?

600


What is structure in c explain with example?

623


What is the difference between text files and binary files?

667






What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.

1779


Which is an example of a structural homology?

769


Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent

1638


Explain what are the advantages and disadvantages of a heap?

589


Differentiate between functions getch() and getche().

612


What are the types of arrays in c?

617


What is the difference between union and anonymous union?

828


What is optimization in c?

560


how to find anagram without using string functions using only loops in c programming

2708


How do you use a pointer to a function?

621