#include <stdio.h> void f() { printf("function\n"); } #define f() printf("macro\n") int main() { f(); // macro (f)(); // function return 0; }
函数名加括号
#include <stdio.h> void f() { printf("function\n"); } #define f() printf("macro\n") int main() { f(); // macro (f)(); // function return 0; }
函数名加括号
转载于:https://www.cnblogs.com/chenkkkabc/archive/2013/03/12/2956405.html