加分号就变成b=a;+7;所以就是b=6了
#define语句最后的分号去掉
#include "stdio.h" #define a 6 int main() { int b; b = a+7; printf("b=%d",b); return 0; }