Please read about virtual memory.. In a nutshell the printed addresses are virtual addresses not absolute addresses. Thanks, - Mohan. The expert at anything was once a beginner. On Mon, Mar 30, 2009 at 12:27, beginner_h4x3r <nightdecoder@xxxxxxxxx> wrote: > Hi Rahul, > > What is the means of process's base address and offset? It's means > child's base address is offset? how to know child's process stack_int > address in my demonstration code. > > Thanks in advance. > > --- curious_hacker > > On Mon, Mar 30, 2009 at 1:15 PM, Rahul K Patel > <rahulk.patel@xxxxxxxxxxxxxx> wrote: >> it's offset address and not absolute address. >> base addresses of your parent and child process will be different so >> final absolute address (base + offset) will be different for both. > -- > To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html