printf("%d", &a);你这个地址符,打印出来的是 a 的地址
printf("%d", &a);改为printf("%d", a);
printf("%d", &a);
printf("%d", a);
打印语句不需要加地址符