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

Explain what is a stream?

606


general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only

582


how do you programme Carrier Sense Multiple Access

1510


What is a spanning Tree?

946


One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.

2154






void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply

2220


Is c language still used?

533


What are the properties of union in c?

582


What is difference between && and & in c?

578


What are register variables? What are the advantage of using register variables?

676


What is the purpose of ftell?

595


i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical

1836


What are the preprocessor categories?

633


Difference between macros and inline functions? Can a function be forced as inline?

703


Dont ansi function prototypes render lint obsolete?

601