OS/Linux
[Linux/C] C언어 서식 변환 문자
dev_Step
2022. 3. 13. 18:06
char 1byte
short 2byte
int 4byte
long 4byte
float 4byte
double 8byte
char / unsigned char ==> %c, %hd
short,int / unsigned short,unsigned int ==> %d, %u
long / unsigned long ==> %ld, %lu
float, double ==> %f
%s ==> 문자열을 표현한다.

