If you place curly braces within a function, does that create a new sub-stack? Eg:
Is y in a sub-stack of the one that x is in? That would seem logical, given the behavior of the variables. Ie, x is available everywhere, but y is only available within the nested braces.Code:int main()
{
int x;
{
int y;
}
return 0;
}
Am I on the right track here?