关于局部变量的问题
#include <stdio.h>void main()
{
int a=1,b=2,c=3;
printf("%3d%3d%3d\n",a,b,c);
{
int b=4;
float c=5.0;
printf("%3d%3d%5.1f\n",a,b,c);
a=b;
{
int c;
c=b;
printf("%3d%3d%3d\n",a,b,c);
}
printf("%3d%3d%5.1f\n",a,b,c);
}
printf("%3d%3d%3d\n",a,b,c); //这行里面的a为什么等于4?
}
解释一下注释那行的a,b,c分别为4,2,3