宏定义为“#definediv(x,y)x/y;”,若语句“printf("div(x,y)=%d\n",div(x+3,y-3));”作宏替换后为()。 A: printf("x/y=%d",(x+3)/(y-3)); B: printf("x/y=%d",x+3/y-3); C: printf("div(x,y)=%d",x+3/y-3;); D: printf("x/y=%d",x+3/y-3;);
宏定义为“#definediv(x,y)x/y;”,若语句“printf("div(x,y)=%d\n",div(x+3,y-3));”作宏替换后为()。 A: printf("x/y=%d",(x+3)/(y-3)); B: printf("x/y=%d",x+3/y-3); C: printf("div(x,y)=%d",x+3/y-3;); D: printf("x/y=%d",x+3/y-3;);
1