In the previous
Blogs we saw about the pointer and reference variables in the context of
stack memory.
There are 3 more important memories that every c++ programmer
should be aware of it. Below is the four important memory segmentation:
1) Stack Memory
Segments
2) Heap Memory
Segments
3) Code
Segmentation
4) Data
Segmentation
In
the coming blogs we will have look at these memory segments with a simple example.
The example is just for understanding purpose and it does nothing actually
excepting printing something.