不能输出结果,请帮忙!
#include <stdio.h>void main()
{
int a=0;
int b=0;
a++;
b++;
printf("int",a,b);
{
float a=0.5;//定义局部变量
a++;
b++;
printf("int",a,b);
}
a++;
b++;
printf("int",a,b);
}
# include <stdio.h> void main () { int a=0; int b=0; a++; b++; printf ("int: %d %d\n",a ,b); { float a=0.5; a++; b++; printf ("int: %d %d\n ",a,b); a++; b++; printf ("int: %d %d\n",a,b); } }我在想这个程序是个什么程序!值得思考!!!