#include<stdio.h> #define absolute_value(x) ( \ ((x) < 0)? (-1*x) : (x) \ ) int main() { int x = -1; x=absolute_value( x ); while(x) { printf("x:%d\n测试成功!",x); return 0; } }