malloc in an embedded system without an operating system

前端 未结 3 1678
自闭症患者
自闭症患者 2021-02-08 02:47

This query is regarding allocation of memory using malloc.

Generally what we say is malloc allocates memory from heap.

Now say I have a

3条回答
  •  渐次进展
    2021-02-08 03:37

    The only real answer is "Wherever your compiler/library-implementation puts it".

    In the embedded system I use, there is no heap, since we haven't written one.

提交回复
热议问题