Skip to content
RED SAG Skills
mediumStudy question · answer published in Embedded C interview questions, so no pointsstartup-codememory-layout

Initialised global reads garbage

After switching to a custom startup file, int threshold = 50; reads a random value at the start of main, while zero-initialised globals look fine. What is wrong?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions