Consider the code:
#include int x; int main (void) { }
The value of x is 0 inside main>
x
0
main>
Your compiler initialized the value of x to be 0.
It's a global variable which is visible from within main()
main()