I've started to learn C and just learned that strings are just arrays of chars. I wanted to see values are in the strings at every given moment so I set a breakpoint in vscode, stepped through the execution, and looked at all the values.
int main()
{
char a[4] = "foo";
char b[4] = "bar";
return 0;
}
I saw that before initializing the a[]
array, there are already values in memory.
.
My question is, what are those values? Why are they there? What do they represent?