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
How does selection sort work in c?
Explain what are the __date__ and __time__ preprocessor commands?
Explain what is output redirection?
write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)
How to compare array with pointer in c?
What is the explanation for prototype function in c?
Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
What are the difference between a free-standing and a hosted environment?
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
What’s the special use of UNIONS?
How can you tell whether two strings are the same?
Explain what is the most efficient way to store flag values?
Explain what is a program flowchart and explain how does it help in writing a program?
Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?
What's the best way of making my program efficient?