This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Memory allaocation for variables in EMBEDDED C

Queries regading C coding for EMBEDDED systems.

If we define Variable of type "int constant i=10,

In Which segment it will be stored??( Code/data/stack )

Similarly for any variable declared as "static".

How it will be decided??

Could you please help me in knowing where the different types of variables in C language?

0