How to define a macro that takes an arbitrary number of arguments and expands to give only the even arguments?

后端 未结 0 980
隐瞒了意图╮
隐瞒了意图╮ 2020-12-09 08:16

Is it possible to define a variadic C macro that expand to give every other argument? In other words,

EVEN(A,a,B,b)

expands to



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题