%s : 문자열 (string)

%d : 정수형 (int)

%n : 줄바꿈

%f : 실수형(float)

%t : date, time

%o : 8진수

%x : 16진수

%b : boolean (true, false)

%e : 지수

 

 

더보기

C언어 출력타입

 

%d : 10진수(정수형, int)

%f : 실수형(float)

%e : 지수형

%o : 8진수

%x : 16진수

%u : 부호없는 10진수 (unsigned int)

%g : 실수형 자동 출력

%p : 포인터의 주소

%c : 하나의 문자로 출력

%s : 문자열 (string)

+ Recent posts