4 void _echo(char *s
, ... ) { va_list ap
; for(va_start(ap
,s
);s
;s
=va_arg(ap
,char *)) fputs(s
,stdout
); va_end(ap
); }
5 #define print(...) _echo(__VA_ARGS__,"\n",NULL)
6 #define echo(...) _echo(__VA_ARGS__,NULL)
10 echo("Hello ","world","! ");
11 print("Hello ","world","! ");
This page took 1.58796 seconds and 4 git commands to generate.