Is there any way to find the starting and ending address of heap memory.
#include<stdio.h>
void main()
{
printf("Ending address of Heap: %x\n",sbrk(0));
}
The above coding shows the ending address of heap memory. Like that is there any way to find the starting address of heap.
Output:
Ending address of Heap: 8556000