gcc, uninitialized global variables
c, gcc
Solution
No! Global and static variables are initialized implicitly if your code doesn't do it explicitly as mandated by the C standard. In short, global and static variables are never left uninitialized.
Problem
Is there any way to know / warn if a global variable is uninitialized with gcc ? I got it for local/ atomic variables “-Wuninitialized”