But what happens exactly in memory when I put "?"
There is no answer because the value is undefined!
Some space is allocated for the data, but it's value is unitialised (or undefined).
In other words it can contain anything at all (random data that was already at that memory address).
This means that if you want to read from this memory, and expect to read meaningful data, you must first write to it.