How Do I Write A C++ VARIADIC Function using va_start, va_arg, va_end Macros?

The printf function in C++ accepts variable number of parameters. We can also write such a function to accept different number of arguments. Read this article to know how.