for example, the following code:
-sharpinclude <stdio.h>
int main()
{
int a, b;
a = 10;
b = a;
}
it is said on the Internet that b = a copies the data in the memory space of the a variable to the memory space of the b variable, is that so?
is it possible that the data of an and b are exactly the same and take up two pieces of memory space? Doesn"t
say that copy, an and b share the same memory address when writing?
I just learned C, but I don"t quite understand. Thank you