Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Varadic macro
//g++ 5.4.0 #include <stdio.h> #define MY_MACRO(...) printf("hello\n"); return __VA_ARGS__ int foo() { MY_MACRO(0); } void toto() { MY_MACRO(); } int main(void) { int a = foo(); toto(); return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
test
remove dublicates from string using recursion
Kalkulator z bajerami
ad
Best buy/sell day in stock
combine c++ string with dynamically allocated c array of chars through overloaded add operator
Handling new types without using RTTI
Stok sinifi
sin_approximation
BinTree palyground
Please log in to post a comment.