일단 실무에서 많이 접한 출력형을 먼저 정리해본다.
[%d] : 부호값이 있는 int형 [%ld] : 부호값이 있는 long형 [%u] : 부호없는 int형 [%s] : 문자열 [%f] : float형
[%d]
[%ld]
[%u]
[%s]
[%f]
printf 출력형 - https://eehoeskrap.tistory.com/260