Re: stack heap and dynamic memory allocation

On Nov 15, 8:38 pm, vivek <gvivek2...@xxxxxxxxx> wrote:
iam new to C and experienced with assembly language programming.

Typically in embedded C, which data is stored in heap?

If there are various threads/process like ADC, communication etc..when
switching between different process where is the data being stored
(stack or heap).

From where is this space for stack or heap allocated. Is it in RAM or


Stack and heap are implementation specific.

You may want to look it up from your embedded platform's C reference
manual. Which CPU and OS are you using?