I have this simple line of code:
int x;
x automatically has the value of 1. I don\'t set it to anything but when I debug, it s
x
The initial value is undefined, and in this case will be whatever happened to be in that memory location before x started using it.
(Depending on the surrounding code, you might find that in your specific case it's always 1, but you can't be sure of that.)
1