Can some body help, does all segments belongs to process are contiguous in the memory? if yes then why those should be in contiguous?.
as per my understanding stack comes down and heap grows up(depends on CPU architecture) that shows all segments lay one by one(tightly coupled).