we know that when the ownership of a variable moved, the variable is not valid anymore until the end of the scope when its' space become free in stack. but what happened to the memory space that becomes invalid? does it waste until the end of scope?
I don't have any idea of how OS managing the stack