有没有办法使C宏关键字不可知?

3 c c++ macros

有没有办法在宏中连接关键字并让
C以更动态的方式运行,如:

#define macro(fun,ction,var,iable) function(variable)
Run Code Online (Sandbox Code Playgroud)

我知道这种东西存在于其他语言中.

Mic*_*gan 6

您可以使用##在宏中连接名称

有趣## ction ...