va_arg(ap,type)에서 문자 형 받으려면 int로 받는다.https://stackoverflow.com/questions/28054194/char-type-in-va-argint이하 용량은 다 인트로 받고 형변환한다.예시 :c = (char)va_ar