in Technology by
When should we use the register storage specifier?

1 Answer

0 votes
by
If a variable is used most frequently then it should be declared using register storage specifier, then possibly the compiler gives CPU register for its storage to speed up the look up of the variable. S++ or S = S+1, which can be recommended to increment the value by 1 and why? S++, as it is single machine instruction (INC) internally.

Related questions

0 votes
    When should we use the register storage specifier?...
asked Jan 17, 2021 in Technology by JackTerrance
0 votes
    What is the purpose of extern storage specifier?...
asked Jan 17, 2021 in Technology by JackTerrance
+1 vote
    What is the purpose of extern storage specifier in C- Programming?...
asked Nov 9, 2020 in Technology by JackTerrance
0 votes
    When should I use SQL Azure and when should I use table Storage? I was thinking, use table storage for transaction ... do you think? Select the correct answer from above options...
asked Jan 31, 2022 in Education by JackTerrance
0 votes
    Explain the use of %i format specifier w.r.t scanf()?...
asked Jan 17, 2021 in Technology by JackTerrance
+1 vote
    Explain the use of %i format specifier w.r.t scanf() in C-Programming?...
asked Nov 9, 2020 in Technology by JackTerrance
0 votes
    When should we use pointers in a C program?...
asked Jan 22, 2021 in Technology by JackTerrance
0 votes
    What are the words we should use when we communicate verbally Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    How will we register service providers?...
asked Sep 28, 2021 in Technology by JackTerrance
0 votes
    In order to reduce the overhead in retrieving the records from the storage space we use (a) Logs ( ... Answers, Database Interview Questions and Answers for Freshers and Experience...
asked Oct 11, 2021 in Education by JackTerrance
0 votes
    _______ flag bit is reset, when flag register content is 95H. Select the correct answer from above options...
asked Nov 27, 2021 in Education by JackTerrance
0 votes
    Why should we use Cucumber with Selenium?...
asked Jul 20, 2021 in Technology by JackTerrance
0 votes
    Why should we use Selenium for test automation?...
asked May 18, 2021 in Technology by JackTerrance
0 votes
0 votes
    Why we should use Tableau?...
asked Oct 29, 2020 in Technology by JackTerrance
...