1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <stdio.h>
#include <stdarg.h>

void forward_args( const char *format , ... )
{
  va_list arglist;
  printf( format, arglist );
}


int main (int argc, char const *argv[])
{
  forward_args( "%s %s\n" , "hello" , "world" );  
  return 0;
}