+1 vote
11 views
When should we use the register storage specifier?
in Technology by (190k points)

1 Answer

0 votes
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.
by (190k points)

Related questions

0 votes
1 answer 31 views
+1 vote
1 answer 52 views
+1 vote
1 answer 21 views
0 votes
1 answer 27 views
0 votes
1 answer 14 views
14 views asked Nov 9, 2020 in Technology by JackTerrance (190k points)
+1 vote
1 answer 26 views
+1 vote
1 answer 18 views
0 votes
1 answer 18 views
+1 vote
1 answer 19 views
19 views asked Oct 20, 2020 in Technology by JackTerrance (190k points)
+1 vote
1 answer 15 views
15 views asked Oct 20, 2020 in Technology by JackTerrance (190k points)
0 votes
1 answer 35 views
0 votes
1 answer 11 views
11 views asked Oct 29, 2020 in Technology by JackTerrance (190k points)
0 votes
1 answer 7 views
+1 vote
1 answer 10 views
0 votes
1 answer 9 views
9 views asked Nov 9, 2020 in Technology by JackTerrance (190k points)
0 votes
1 answer 22 views
...