Is it possible to assign a variable the address you want, in the memory?
I tried to do so but I am getting an error as \"Lvalue required as left operand of assignmen
It's not possible, maybe possible with compiler extensions. You could however access memory at an address you want (if the address is accessible to your process):
int addr = 7200; *((int*)addr) = newVal;