I'm new on world of computing and computers ..I'm developing in C programming and really every time I get stuck in my thinking how really PC delete the old value if we modified it by new value, I mean: lets assume I write on C like this
int i=6;
i=7;
then the value of i is 7, I know why because we have modified the old value by 7, but how does really the PC delete the previous value? I could believe just in "the previous value overwritten and it will be deleted" but I'm curious to know how really it's deleted by assigning modified value?
Is it like magic? still weird for me .. a good explanation would be really appreciated to convince me how PC use overwritten mode operation to delete previous values once we modifying on the same memory's address ..