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

An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array

950


In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.

1635


Which is best linux os?

797


i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....

1756


write a program in c language to print your bio-data on the screen by using functions.

6572


What is the purpose of scanf() and printf() functions?

957


What is function in c with example?

869


What is wrong with this program statement?

827


Do pointers take up memory?

884


Find MAXIMUM of three distinct integers using a single C statement

851


What is the general form of #line preprocessor?

799


Describe the order of precedence with regards to operators in C.

872


How can I read/write structures from/to data files?

781


Disadvantages of C language.

875


What is the full form of getch?

918