In C/C++ when we declare a variable;
for this variable (i.e. var) memory is being reserved in RAM (i.e out side processor).
If we declare variable like that;
register int var2;
for this variable memory is being reserved in register of CPU (i.e. withing processor)
But register variables are discouraged because processor has to work with registers.....
Note: strictly speaking, storage class 'register' means: dear compiler, you might optimize this variable into register, as I won't ever request its address. But of course, it's up to you to decide.
Ordinary Diff -> One variable Partial Diff -> More than one variable
difference between market price and normal price
normal variable stores a value of the given datatype where as the pointer variable stores the address of a variable. for example int n=10; int *p; p=&n; here p is a pointer variable and n is a normal variable.p stores the address of n where as n stores an integer value. *p prints the value of n,p prints the address of n.
Wii Motion Plus controllers register movements better and allow you to play more games.
What is the difference between malloc() and calloc()?
the difference between a micro pet and a normal pet is that a micro pet is a really small animal such as a micro pig and a normal animal is a animal just like a normal person normal size normal wight and that is the difference between a normal animal and a micro animal.
what is defference between normal and preference shares
There's a difference?
What is the difference between normal saline solution and ringer's lactate solution?
The difference between currency notes and normal paper is simple. Currency notes were used when normal paper money was not available.
The difference between normal and average respiratory rate is simple. Normal is healthy and cannot change and average most certainly can change.