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

what is diognisis?

1 Answers  


YBJBU6

1 Answers  


write a program to find a given no. is divisible by 3 or not without using any arthimetic operators?

3 Answers   Broadcom, TCS,


Explain pointers in c programming?

0 Answers  


write a program that print itself even if the source file is deleted?

2 Answers  






void main(int argc,char *argv[],char *env[]) { int i; for(i=1;i<argc;i++) printf("%s",env[i]); }

3 Answers  


how to find that no is int or float?

5 Answers  


What is the most efficient way to store flag values?

0 Answers  


Explain built-in function?

0 Answers  


write a c prog for removing duplicate character from an array and sorting remaining elements using a single array

1 Answers  


A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(

0 Answers  


Difference between exit() and _exit() function?

0 Answers  


Categories