Variadic paramter macro

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

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

Powered by Jekyll and Theme by solid

本站总访问量