- #1
kidsasd987
- 143
- 4
if we declare variables with different type specifiers, is the memory location(address) assigned according to the type specifier or is that just random?
ex.
1. int variables are assigned location closer to each other or specific region of memory, and floats, double have different locations.
2. if 1 is wrong, the location is randomly assigned.
Thanks you.
ex.
1. int variables are assigned location closer to each other or specific region of memory, and floats, double have different locations.
2. if 1 is wrong, the location is randomly assigned.
Thanks you.