I would like to now how those instructions are allocating memory.
For example what if I got code:
x = new int[5]; y = new int[5];
If t
You didn't find it in the manual because it's not specified by the standard. That is, most of the time x and y will be side by side (go ahead and cout<< hex << their addresses).
cout<< hex <<
But nothing in the standard forces this so you can't rely on it.