C语言带返回值的宏

define TWICE(x)

({
int _ret;
ret = (x) << 1;
ret;
})

int twice(int c)
{
return TWICE(c);
}

https://github.com/pswarfound
原文地址:https://www.cnblogs.com/zl-yang/p/9063733.html