#include 
#include 
void print(char *format,...){  va_list arg;  va_start(arg,format);  while(*format)  {    switch(*format)                {                 case 's' :                                {                                  char *pch = va_arg(arg,char *);                                  while(*pch)                                  {                                                  putchar(*pch);                                                  pch++;                                  }                                  break;                                }                 case 'c' :                                {                                  char ch=va_arg(arg,char );                                  putchar(ch);                                  break;                                }                 default:                                {                                  putchar(*format);                                  break;                                }                }                format++;  }  va_end(arg);}int main(){  print("s\tc\n", "bit-tech",'w' );  system("pause");  return 0;}