Is stack address shared by Heap addresses ??
- by numerical25
I read On most operating systems, the addresses in memory starts from highest to lowest. So I am wondering if the heap, stack, and global memory all fall under the same ordering..?
If I created...
pointerType* pointer = new pointerType //creates memory address 0xffffff
And then created a local varible on the stack
localObject object
would localObjects address be 0xfffffe
Or is heap and stack ordering completely different.