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
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
What are valid signatures for the Main function?
write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare. You will then tabulate this information in another file.
Explain the use of 'auto' keyword
What is meant by operator precedence?
Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?
How #define works?
Can two or more operators such as and be combined in a single line of program code?
How can I pad a string to a known length?
What is the use of a conditional inclusion statement in C?
Why is struct padding needed?
What is malloc() function?
count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array
What is the purpose of main() function?