process stack

Asutosh Das das.asutosh at gmail.com
Mon Jun 27 00:00:57 EDT 2011


On 27 June 2011 09:04, Venkateswarlu P <p.venkatesh551 at gmail.com> wrote:

>
>
> Each process is having a stack .
>
> In C ,for *local variables* allocation  this stack  is used (for some
> extra usage also).
>
> what about *static and global *data allocation ?
>

it goes into BSS (no explicit initialization)


> where this data  will be allocated ?.
>
>
> what  about dynamic memory allocation ?
>
goes into heap

>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>


-- 
Thank you,
Warm Regards,
Asutosh Das
# (91) 9049 000 969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110627/5452eb8c/attachment.html 


More information about the Kernelnewbies mailing list