Skip to content
RED SAGSkills
medium10 pts · first answer countsstartup-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