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

How can I call a function with an argument list built up at run time?

631


Is anything faster than c?

577


Why we use conio h in c?

580


Explain function?

659


Why do we use c for the speed of light?

603






Can we declare variables anywhere in c?

573


please explain every phase in the "SDLC" in the dotnet.

2175


A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM

1697


What is zero based addressing?

705


What is the heap in c?

637


How can I list all of the predefined identifiers?

574


Explain how do you search data in a data file using random access method?

691


a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler

607


What is the difference between declaring a variable and defining a variable?

716


stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.

1845