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

why can't const array be in

const char anarray[5]={1,3,5,7,9};

The above works well. But occupies a lot of mem.




const char code anarray[5]={1,3,5,7,9};

Compliled and linked without an error prompt. But works bad.

0