variadic paramter macro

#define debug_printf(str, ...)     do {         printf(str, __VA_ARGS__);     } while (0)

debug_printf("Hwllo world: %d %d\n", 1,2); 

原文地址:https://www.cnblogs.com/cutepig/p/1635252.html