How the processor registers can be used in C ?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can type-insensitive macros be created?

707


In cryptography, you could often break the algorithm if you know what was the original (plain) text that was encoded into the current ciphertext. This is called the plain text attack. In this simple problem, we illustrate the plain text attack on a simple substitution cipher encryption, where you know each letter has been substituted with a different letter from the alphabet but you don’t know what that letter is. You are given the cipherText as the input string to the function getwordSets(). You know that a plain text "AMMUNITION" occurs somewhere in this cipher text. Now, you have to find out which sets of characters corresponds to the encrypted form of the "AMMUNITION". You can assume that the encryption follows simple substitution only. [Hint: You could use the pattern in the "AMMUNITION" like MM occurring twice together to identify this]

1963


Which is best book for data structures in c?

603


What is the difference between int main and void main in c?

599


Can we declare variable anywhere in c?

543






What the different types of arrays in c?

618


What are the benefits of c language?

653


What is sizeof int in c?

610


in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none

608


Is there a built-in function in C that can be used for sorting data?

751


Write a code to generate a series where the next element is the sum of last k terms.

742


What does c mean before a date?

596


What are identifiers and keywords in c?

580


main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }

642


What is getch?

638