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 elsewhere?