#include <stdio.h>void main(){int k = 4;float k = 4;printf("%d", k)}
printf("%d", k)后面少了分号,编译报错int k = 4;float k = 4;两个变量k同名,其中一个改一下
变量名一样了,分号不全