Check out example codes for "how to call a function in a macro with variadic arguments c++". It will help you in understanding the concepts better.

Code Example 1

#define eprintf(…) fprintf (stderr, __VA_ARGS__)

Code Example 2

#define eprintf(args…) fprintf (stderr, args)

Learn ReactJs, React Native from akashmittal.com