Home Variable arguments inside a macro
 I have two functions foo1(a,b) & foo2(a,b,c) and a macro #define add(a,b) foo(a,b)  I need to re-define macro to accomplish, 1.if add() is called with 2 parameters, then call foo1 if add() is called with 3 parameters then call foo2 Im new to the option VA_ARGS. How can I do that