How the processor registers can be used in C ?

Answers were Sorted based on User's Feedback



How the processor registers can be used in C ?..

Answer / om prakash mishra

in C,processor registers can be used by keyword
register...however,this keyword is a request not a command
to compiler to make use of processor register.snce the
processor register are very limited therefore a compiler
can skip the register keyword.

Is This Answer Correct ?    10 Yes 1 No

How the processor registers can be used in C ?..

Answer / rahul singh

ACTUALLY PROCESSOR REGISTER ARE USED TO STORE THE DATA OR
RESULT DURING THE EXECUTION OF THE PROGRAM. PROCESSOR
REGISTER ARE CALLED MEMORY REGISTER.THE ACCESS TIME OF THIS
MEMORY IS VERY FAST.

Is This Answer Correct ?    9 Yes 1 No

How the processor registers can be used in C ?..

Answer / muthukumar

using the keyword register.

Is This Answer Correct ?    5 Yes 1 No

How the processor registers can be used in C ?..

Answer / sundeep

processor registers can be used to store variables which
are accessed frequently and if the registers are not used
by any other programs ,then those registers will be used to
allocate memory for those variabls.

Is This Answer Correct ?    5 Yes 2 No

How the processor registers can be used in C ?..

Answer / 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

How the processor registers can be used in C ?..

Answer / 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

How the processor registers can be used in C ?..

Answer / wolverine

register data type variablename; // to use processor registers

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................

0 Answers  


Find string palindrome 10marks

5 Answers   Honeywell, Infosys, Riktam, Roland,


What is pointer & why it is used?

0 Answers  


why do we use # in c-language?

1 Answers  


Q-1: Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college.

8 Answers  






Every time i run a c-code in editor, getting some runtime error and editor is disposing, even after reinstalling the software what may be the problem?

2 Answers  


What is the diffrent between while and do while statement ?

6 Answers  


accept character from keyboard untill the user presses the enter key.If the user enters any character other than upper case(A-Z)alphabets program should stop taking any input

1 Answers  


plz let me know how to become a telecom protocol tester. thank you.

0 Answers  


What is the difference between #include and #include 'file' ?

0 Answers  


Write a program which take a integer from user and tell whether the given variable is squar of some number or not. eg: is this number is 1,4,9,16... or not

9 Answers   Alcatel,


What is a stream in c programming?

0 Answers  


Categories