Int main ()
{
Int a=20;
Int score=a + 100;
Printf (" % d \ n ", score).
{
Int score=50;
{
Score=10;
Printf (" % d \ n ", score).
}
A=10;
}
{
Score=a + 250;
Int score=30;
Printf (" % d/n ", score).
}
Printf (" % d \ n ", score).
return 0;
}
Why is the final result of 260?
Online, such as prawn
CodePudding user response:
A=10The back and score=a + 250;
Don't be 260
CodePudding user response:
A=10;//this is type automatic variables, value of 10}
{
Score=a + 250;
CodePudding user response:
12010
30/n260
Press any key to continue
CodePudding user response:
Is ah, clearly is 260!